eclecticNancy
Programmer
I'm not clear whether I have a problem with FTP/SSL or with Python (or perhaps both). I'm new to both.
When I do this...
import ftplib
c = ftplib.FTP()
c.set_debuglevel(2)
c.connect(ipaddress)
c.sendcmd('AUTH-SSL')
The response to the sendcmd is as follows:
*cmd* 'AUTH-SSL'
*put* 'AUTH-SSL\r\n'
*get* "500 'AUTH-SSL': command not understood.\r\n"
*resp* "500 'AUTH-SSL': command not understood."
Traceback (most recent call last):
File "<interactive input>", line 1, in ?
File "C:\Program Files\Python23\lib\ftplib.py", line 241, in sendcmd
return self.getresp()
File "C:\Program Files\Python23\lib\ftplib.py", line 214, in getresp
raise error_perm, resp
error_perm: 500 'AUTH-SSL': command not understood
Am I misusing the sendcmd method? Or is this this more an FTP error to figure out?
Thank you,
Nancy
When I do this...
import ftplib
c = ftplib.FTP()
c.set_debuglevel(2)
c.connect(ipaddress)
c.sendcmd('AUTH-SSL')
The response to the sendcmd is as follows:
*cmd* 'AUTH-SSL'
*put* 'AUTH-SSL\r\n'
*get* "500 'AUTH-SSL': command not understood.\r\n"
*resp* "500 'AUTH-SSL': command not understood."
Traceback (most recent call last):
File "<interactive input>", line 1, in ?
File "C:\Program Files\Python23\lib\ftplib.py", line 241, in sendcmd
return self.getresp()
File "C:\Program Files\Python23\lib\ftplib.py", line 214, in getresp
raise error_perm, resp
error_perm: 500 'AUTH-SSL': command not understood
Am I misusing the sendcmd method? Or is this this more an FTP error to figure out?
Thank you,
Nancy