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 giampaolo.rodola
Recipients giampaolo.rodola
Date 2008-09-19.18:08:00
SpamBayes Score 4.0606187e-07
Marked as misclassified No
Message-id <1221847682.44.0.529655554535.issue3911@psf.upfronthosting.co.za>
In-reply-to
Content
Python 3.0rc1 (r30rc1:66507, Sep 18 2008, 14:47:08) [MSC v.1500 32 bit
(Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import ftplib
>>> f = ftplib.FTP()
>>> f.connect('mirrors.kernel.org')
'220 Welcome to mirrors.kernel.org.'
>>> f.login()
'230 Login successful.'
>>> f.debugging = 1
>>> f.makeport()
*cmd* 'PORT 10,0,0,1,18.21875,56'
*resp* '500 Illegal PORT command.'
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\python30\lib\ftplib.py", line 300, in makeport
    resp = self.sendport(host, port)
  File "C:\python30\lib\ftplib.py", line 260, in sendport
    return self.voidcmd(cmd)
  File "C:\python30\lib\ftplib.py", line 249, in voidcmd
    return self.voidresp()
  File "C:\python30\lib\ftplib.py", line 224, in voidresp
    resp = self.getresp()
  File "C:\python30\lib\ftplib.py", line 219, in getresp
    raise error_perm(resp)
ftplib.error_perm: 500 Illegal PORT command.
>>>



Path in attachment.
History
Date User Action Args
2008-09-19 18:08:02giampaolo.rodolasetrecipients: + giampaolo.rodola
2008-09-19 18:08:02giampaolo.rodolasetmessageid: <1221847682.44.0.529655554535.issue3911@psf.upfronthosting.co.za>
2008-09-19 18:08:01giampaolo.rodolalinkissue3911 messages
2008-09-19 18:08:00giampaolo.rodolacreate