Commit b3a0aadd by larosa

modify true

parent 6157f387
Showing with 1 additions and 1 deletions
...@@ -90,7 +90,7 @@ class DataUtil: ...@@ -90,7 +90,7 @@ class DataUtil:
ftp = ftplib.FTP() ftp = ftplib.FTP()
ftp.connect(host, port) ftp.connect(host, port)
ftp.login(user, password) ftp.login(user, password)
ftp.set_pasv(False) ftp.set_pasv(True)
self.ftp = ftp self.ftp = ftp
def download(self, remote_path, local_path): def download(self, remote_path, local_path):
......
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 sign in to comment