Note

It typically runs on port 21.

HTB Cheatsheet (basic commands)

CommandDescription
ftp <FQDN/IP>Interact with the FTP service on the target.
nc -nv <FQDN/IP> 21Interact with the FTP service on the target.
telnet <FQDN/IP> 21Interact with the FTP service on the target.
openssl s_client -connect <FQDN/IP>:21 -starttls ftpInteract with the FTP service on the target using encrypted connection.
wget -m --no-passive ftp://anonymous:anonymous@<target>Download all available files on the target FTP server.
ls -RList all content recursively.
get whatever.exampleDownload a file.

You should check Footprinting Theory ๐ŸŒš to get further knowledge.