Commit 4dc5b7e3 by 刘豪

update

parent 117ab001
Showing with 7 additions and 7 deletions
......@@ -250,13 +250,13 @@ def run():
extract_dir = conf_environment["tmp_file_path"] + "extract/"
if not os.path.exists(extract_dir):
os.makedirs(extract_dir)
# ftp_client = ftp.FTPUtil(host=conf_environment["ftp"]["host"],
# port=conf_environment["ftp"]["port"],
# passive=True,
# username=conf_environment["ftp"]["username"],
# password=conf_environment["ftp"]["password"],
# logger = logger)
# down_cn(ftp_client, extract_dir)
ftp_client = ftp.FTPUtil(host=conf_environment["ftp"]["host"],
port=conf_environment["ftp"]["port"],
passive=True,
username=conf_environment["ftp"]["username"],
password=conf_environment["ftp"]["password"],
logger = logger)
down_cn(ftp_client, extract_dir)
ftp_client = ftp.FTPUtil(host=conf_environment["ftp"]["host"],
port=conf_environment["ftp"]["port"],
passive=True,
......
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