Login: Common FTP Commands
Login: Common FTP Commands
the client and server.FTP users may authenticate themselves using a clear-text sign-in protocol but can
connect anonymously if the server is configured to allow it. FTP is most commonly used to download
a file from a server using the Internet or to upload a file to a server (e.g., uploading a Web page file to
a server).
Login
FTP login utilizes a normal username/password scheme for granting access. The username is sent to
the server using the USER command, and the password is sent using the PASS command. If the
information provided by the client is accepted by the server, the server will send a greeting to the
client and the session will be open. If the server supports it, users may log in without providing login
credentials. The server will also limit access for that session based on what the user is authorized.
Anonymous FTP
A host that provides an FTP service may additionally provide anonymous FTP access. Users typically
log into the service with an 'anonymous' account when prompted for user name. Although users are
commonly asked to send their email address in lieu of a password, no verification is actually
performed on the supplied data.