Lines Matching refs:ftp
8 >>> ftp = FTP('ftp.python.org') # connect to host, default port
9 >>> ftp.login() # default, i.e.: user anonymous, passwd anonymous@
11 >>> ftp.retrlines('LIST') # list directory contents
17 d-wxrwxr-x 2 ftp wheel 1024 Sep 5 13:43 incoming
23 >>> ftp.quit()
82 passed, meaning that no timeout will be set on any ftp socket(s).
83 If a timeout is passed, then this is now the default timeout for all ftp
89 To download a file, use ftp.retrlines('RETR ' + filename),
90 or ftp.retrbinary() with slightly different arguments.
91 To upload a file, use ftp.storlines() or ftp.storbinary(),
113 Initialize host to localhost, port to standard ftp port.
143 - timeout: the timeout to set against the ftp socket(s)
404 # If there is no anonymous ftp password specified
409 # - We don't want to let ftp sites to discriminate by the user,
695 >>> ftps = FTP_TLS('ftp.python.org')
706 d-wxrwxr-x 2 ftp wheel 1024 Sep 5 13:43 incoming
925 Usage: ftp [-d] [-r[file]] host [-l[dir]] [-d[dir]] [-p] [file] ...
948 ftp = FTP(host)
949 ftp.set_debuglevel(debugging)
964 ftp.login(userid, passwd, acct)
967 ftp.dir(file[2:])
971 resp = ftp.sendcmd(cmd)
973 ftp.set_pasv(not ftp.passiveserver)
975 ftp.retrbinary('RETR ' + file, \
977 ftp.quit()