📜  FTP命令

📅  最后修改于: 2020-11-10 05:37:03             🧑  作者: Mango

FTP命令

FTP用于将文件从一台设备传输到Internet上的另一台设备。 FTP命令对FTP客户端非常有用。

FTP命令表:

S. No FTP Command Description of the command
1. ! It is used to toggle back and forth between the OS and FTP.
2. ? It is used to print the information about the FTP command.
3. append This command is used to append the two files.
4. ascii It is used to set the file transfer mode to ASCII (It is the default mode for most FTP programs).
5. binary This command is used to set the file transfer mode to binary.
6. bell When any command completes, this command sounds a bell.
7. bye It is used to terminate the ftp session and exit.
8. cd This command is used to change the directory on the remote system.
9. close It is used to terminate the ftp connection with a remote system.
10. dir It is used to lists the contents of the remote directory.
11. delete It is used to delete a file in the current remote directory.
12. debug It is used to set the debugging mode on/off. This command does not require a connection to a remote system.
13. disconnect It is used to disconnect the FTP session.
14. ftp This command is used to access the FTP interpreter.
15. get It is used to copy a file from the server to the client device.
16. hash toggle printing “#” for each buffer transfer.
17. help It is used to display the local help information. This command does not require a connection to a remote system.
18. lcd It is used to change the directory on your local system.
20. literal This command is used to send the argument to the remote machine.
21. ls It is used to list the names of the files in the current remote directory.
22. mdelete It is used to delete multiple files at once.
23. mdir It is used to lists the contents of the multiple remote directories.
24. mget It is used to copy multiple files from the remote machine to the local machine.
25. mkdir It is used to make a new directory within the current remote directory.
26. mls This command is used to list the names of the files in the many server directories.
27. mput This command is used to copy many files from the user device to the server device.
28. open This command is used to open the connection with another system.
30. put This command is used to copy a file from the user device to the server device.
31. pwd This command is used to search the path-name of the local directory on the remote system.
32. quit It is used to exit the FTP session (same as bye).
33. quote This command is used to send the argument to the remote machine.
34. recv This command is used to receiver the file of the remote machine.
35. remotehelp It is used to display the remote system information.
36. rename This command is used to rename the file of the system.
37. rmdir This command is used to remove the directory in the local remote directory.
38. send It is used to send a file.
39. status This command is used to display the current status of the system.
40. type It is used to set the file transfer type.
41. user This command is used to transfer the new user detail.
42. verbose It is used to set verbose on/off.