[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

3.7 FTP

Function: make-ftp-active-connection address [port] username password server-address

crates an FTP connection in active mode.

Function: make-ftp-passive-connection address [port] username password

crates an FTP connection in passive mode.

Function: ftp-connection? obj

returns #t if the object is an FTP connection.

Special Form: ftp-transfer-mode mode

returns an FTP transfer mode. mode must be a symbol binary or ascii.

Function: ftp-cd connection dir

changes the working directory in the remote host.

Function: ftp-delete-file connection filename

removes the file in the remote host.

Function: ftp-file-size connection filename

gets size of the file in the remote host.

Function: ftp-get connection filename

transfers the file in the remote host to the local host.

Function: ftp-get-transfer-mode connection

gets an FTP transfer mode.

Function: ftp-list connection

gets file lists in the remote host. The result depends an FTP server.

Function: ftp-mkdir connection dir

creates a directory in the remote host.

Function: ftp-name-list connection

gets a list of files in the remote host.

Function: ftp-put connection filename

transfers the file to the remote host.

Function: ftp-pwd connection

gets a working directory in the remote host.

Function: ftp-quit connection

quits the FTP connection.

Function: ftp-rename connection oldname newname

changes oldname in the remote host to newname.

Function: ftp-rmdir connection dir

removes the directory in the remote host.

Function: ftp-server-info connection

gets a server infomation of the remote host.

Function: ftp-set-transfer-mode! connection mode

sets a transfer mode of the connection.

Function: ftp-timestamp connection filename

gets a timestamp of the file in the remote host.

Function: ftp-connected? connection

return #t if the connection has been connected.


[ << ] [ < ] [ Up ] [ > ] [ >> ]

This document was generated on August 9, 2012 using texi2html 5.0.