Index of values


C
chdir [Ftp]
Change the current directory.
chdir_up [Ftp]
Change the current directory to the surrounding one.
close [Ftp.FILE]
Close a previously opened file.
connect [Ftp]
connect server port login pass connects to the server named server on port port using the given login and password.

D
disconnect [Ftp]
Close a previously opened connection.

G
get_cur_dir [Ftp]
Get the directory we're currently in on the server.
get_file [Ftp]
get_file fc src dst downloads the file src and stores it in dst.
get_file_portion [Ftp]
get_file_portion fc src file_ofs buf ofs len downloads len octets of file src starting at position file_ofs and stores it in buf starting at position ofs.
get_file_size [Ftp]
Get the size of a file (in bytes).

L
list_files [Ftp]
List all the files contained in a directory.
ls [Ftp.FILE]
List files and their properties of a directory.
ls [Ftp]
List all the files contained in a directory, specifying its properties.
lseek [Ftp.FILE]
Seek in an opened file.

M
mkdir [Ftp]
Create a directory.
mv [Ftp]
mv fc src dst moves the file src to dst.

N
nop [Ftp]
Don't do anything :)

O
openfile [Ftp.FILE]
openfile name flags perms opens the file named name with flags flags and mode mode (in octal).

R
read [Ftp.FILE]
Read data in an opened file.
resume_file [Ftp]
resume_file fc src dst ofs downloads the file src starting at offset ofs and appends it to dst.
rm [Ftp]
Remove a file.
rmdir [Ftp]
Remove a directory.

S
set_passive [Ftp]
Shoud the data connection be done in passive mode? (not used for now: the connection is always in passive mode).
stat [Ftp]
Get the properties of a file.