Message73435
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. |
|
Date |
User |
Action |
Args |
2008-09-19 18:08:02 | giampaolo.rodola | set | recipients:
+ giampaolo.rodola |
2008-09-19 18:08:02 | giampaolo.rodola | set | messageid: <1221847682.44.0.529655554535.issue3911@psf.upfronthosting.co.za> |
2008-09-19 18:08:01 | giampaolo.rodola | link | issue3911 messages |
2008-09-19 18:08:00 | giampaolo.rodola | create | |
|