Commit c09557de authored by Jonathan Lambrechts's avatar Jonathan Lambrechts

enable ftp passive

parent 88989cfe
Pipeline #2432 passed with stages
in 33 minutes and 45 seconds
......@@ -31,7 +31,7 @@ dst : str or None
ftp = FTP("braque.mema.ucl.ac.be", timeout=10)
ftp.login("anonymous", "")
ftp.passive=True
#ftp.set_pasv(False)
ftp.set_pasv(False)
ftp.cwd(dirname)
if path.isfile(dst) :
ftpmtraw = ftp.sendcmd("MDTM " + filename)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment