Update scrapy/utils/ftp.py

Co-Authored-By: Mikhail Korobov <kmike84@gmail.com>
This commit is contained in:
OmarFarrag 2020-01-20 18:19:36 +02:00 committed by GitHub
parent 175cd2ece5
commit 8ea8f14827
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ def ftp_makedirs_cwd(ftp, path, first_call=True):
ftp.cwd(path)
def ftp_store_file(
path, file, host ,port,
path, file, host, port,
username, password, use_active_mode=False):
"""Opens a FTP connection with passed credentials,sets current directory
to the directory extracted from given path, then uploads the file to server