This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Sohaib Ahmad
Recipients Sohaib Ahmad, r.david.murray
Date 2016-09-07.19:47:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1473277659.17.0.522268990579.issue27973@psf.upfronthosting.co.za>
In-reply-to
Content
I am not much familiar with mercurial. I will try to setup the development environment.

Traceback is:

[Errno ftp error] 200 Switching to Binary mode.
Traceback (most recent call last):
  File "multiple_ftp_download.py", line 49, in main
    file2_path = download_from_url(url2, local_folder=tmpDir)
  File "multiple_ftp_download.py", line 32, in download_from_url
    filename = urllib.urlretrieve(url, local_path)[0]
  File "C:\Python27\lib\urllib.py", line 98, in urlretrieve
    return opener.retrieve(url, filename, reporthook, data)
  File "C:\Python27\lib\urllib.py", line 245, in retrieve
    fp = self.open(url, data)
  File "C:\Python27\lib\urllib.py", line 213, in open
    return getattr(self, name)(url)
  File "C:\Python27\lib\urllib.py", line 558, in open_ftp
    (fp, retrlen) = self.ftpcache[key].retrfile(file, type)
  File "C:\Python27\lib\urllib.py", line 906, in retrfile
    conn, retrlen = self.ftp.ntransfercmd(cmd)
  File "C:\Python27\lib\ftplib.py", line 334, in ntransfercmd
    host, port = self.makepasv()
  File "C:\Python27\lib\ftplib.py", line 312, in makepasv
    host, port = parse227(self.sendcmd('PASV'))
  File "C:\Python27\lib\ftplib.py", line 830, in parse227
    raise error_reply, resp
IOError: [Errno ftp error] 200 Switching to Binary mode.
History
Date User Action Args
2016-09-07 19:47:39Sohaib Ahmadsetrecipients: + Sohaib Ahmad, r.david.murray
2016-09-07 19:47:39Sohaib Ahmadsetmessageid: <1473277659.17.0.522268990579.issue27973@psf.upfronthosting.co.za>
2016-09-07 19:47:39Sohaib Ahmadlinkissue27973 messages
2016-09-07 19:47:39Sohaib Ahmadcreate