chickadee » ftp » ftp:connect

ftp:connect HOSTNAME USERNAME PASSWORD #!optional VERBOSE PORTprocedure

Connects to the server HOSTNAME using the FTP protocol and identifies this client with USERNAME with a given PASSWORD (all strings). If the optional argument VERBOSE is given and not #f, then a protocol of the communication with the server is written to the value of (current-error-port). PORT specifies the port-number and defaults to 21.

This procedure returns an object representing the FTP session.