Trees | Index | Help |
|
---|
Package pyarchive :: Module cb_ftp :: Class FTP |
|
FTP
--+
|
FTP
Method Summary | |
---|---|
Store a file in binary mode. | |
Inherited from FTP | |
| |
Abort a file transfer. | |
Send new account name. | |
Close the connection without assuming anything about it. | |
Connect to host. | |
Change to a directory. | |
Set the debugging level. | |
Delete a file. | |
List a directory in long form. | |
| |
| |
| |
Get the welcome message from the server. | |
Login, default anonymous. | |
| |
Create a new socket and send a PORT command for it. | |
Make a directory, return its full pathname. | |
Return a list of files in a given directory (default the current). | |
Initiate a transfer over the data connection. | |
| |
| |
Return current working directory. | |
Quit, and close the connection. | |
Rename a file. | |
Retrieve data in binary mode. | |
Retrieve data in line mode. | |
Remove a directory. | |
| |
Send a command and return the response. | |
Send a EPRT command with the current host and the given port number. | |
Send a PORT command with the current host and the given port number. | |
Set the debugging level. | |
Use passive or active mode for data transfers. | |
Retrieve the size of a file. | |
Store a file in line mode. | |
Like ntransfercmd() but returns only the socket. | |
Send a command and expect a response beginning with '2'. | |
Expect a response beginning with '2'. |
Class Variable Summary | |
---|---|
int |
DEF_BLOCKSIZE = 8192 |
Inherited from FTP | |
int |
debugging = 0 |
NoneType |
file = None |
str |
host = ''
|
int |
passiveserver = 1 |
int |
port = 21 |
NoneType |
sock = None |
NoneType |
welcome = None |
Method Details |
---|
storbinary(self, cmd, fp, blocksize=8192, callback=<function noop at 0xb59afe9c>)Store a file in binary mode.
|
Class Variable Details |
---|
DEF_BLOCKSIZE
|
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Fri Jun 24 12:01:19 2005 | http://epydoc.sf.net |