Here’s a FTP (File Transfer Protocol) cheat sheet with common commands:
Connect to FTP Server
ftp [hostname or IP address]
Log in to FTP Server
user [username]
Enter your password when prompted.
Navigate on FTP Server
Change Directory:
cd [directory]
Go to Parent Directory:
cd ..
List Files:
ls
Print Working Directory:
pwd
Transfer Files
Upload a File to Server:
put [local-file] [remote-file]
Download a File from Server:
get [remote-file] [local-file]
File Management
Delete a File:
delete [remote-file]
Rename a File:
rename [old-name] [new-name]
Directory Management
Create a Directory:
mkdir [directory-name]
Remove a Directory:
rmdir [directory-name]
Passive Mode
Enable Passive Mode:
passive
Binary and ASCII Mode
Set Binary Mode:
binary
Set ASCII Mode:
ascii
Quit FTP Session
Quit FTP:
bye
Close FTP Connection:
close
Help
Get Help:
help
These are some FTP commands to help you get started. Keep in mind that the availability of specific commands may vary based on the FTP server software you are using. For more detailed information, refer to the documentation of your FTP server or the FTP client you are using.