Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

Update scrapy/utils/ftp.py

OmarFarrag8ea8f1482747
diff --git a/scrapy/utils/ftp.py b/scrapy/utils/ftp.py
index bf67b9976..b3e9ec2ed 100644
--- a/scrapy/utils/ftp.py
+++ b/scrapy/utils/ftp.py
@@ -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