File Transfer Protocol (FTP)

author: Nathan Acks
date: 2022-04-03

Commands

There are a lot more obscure commands as well, though the above is sufficient for basic operations.

File Retrieval

Note that you cannot receive files using FTP with a single telnet/netcat session, as file transfers are conducted over a separate channel (either a channel originating from port 20 on the server for “active” mode or a random port above 1023 on the client for “passive” mode).

However, you can retrieve files using two sessions.

Which is a lot of work, but sometimes you just don’t have an FTP client.

FTPS

FTPS (FTP over SSL) uses port 990 by default. Mostly supplanted by SFTP.