E5Network/E5Ftp.py

branch
maintenance
changeset 5730
6422afc7adc4
parent 5726
e1dbd217214a
child 6048
82ad8ec9548c
equal deleted inserted replaced
5695:9a71bd9e2e37 5730:6422afc7adc4
250 @param user username for the remote host (string) 250 @param user username for the remote host (string)
251 @param password password for the remote host (string) 251 @param password password for the remote host (string)
252 @param acct accounting information for the remote host (string) 252 @param acct accounting information for the remote host (string)
253 @return response sent by the remote host (string) 253 @return response sent by the remote host (string)
254 @exception E5FtpProxyError raised to indicate a proxy related issue 254 @exception E5FtpProxyError raised to indicate a proxy related issue
255 @exception ftplib.error_reply raised to indicate an FTP error reply
255 """ 256 """
256 if not user: 257 if not user:
257 user = "anonymous" 258 user = "anonymous"
258 if not password: 259 if not password:
259 # make sure it is a string 260 # make sure it is a string

eric ide

mercurial