June 2003
Intermediate to advanced
800 pages
34h 20m
English
You want to retrieve or upload files from an FTP server.
Use a third-party component, or create a dedicated class that sends FTP commands over a TCP connection.
FTP (File Transfer Protocol) is a common protocol used to upload and download files from a server. FTP, like many Internet protocols, defines a small set of commands that are sent as simple ASCII-encoded messages over a TCP connection (typically on port 21).
The following is a listing of a typical FTP dialogue, starting immediately after the client makes a TCP connection. Notice that every line sent from the server begins with an FTP response code.
Server sends: 220-FTP server ready. Server sends: 220-<< Server sends: 220- Server sends: 220->> Server ...
Read now
Unlock full access