mirror of https://github.com/scrapy/scrapy.git
Update scrapy/utils/ftp.py
Co-Authored-By: Mikhail Korobov <kmike84@gmail.com>
This commit is contained in:
parent
175cd2ece5
commit
8ea8f14827
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue