1. In cmd --> enter FTP
2. Enter the FTP command line prompt, and enter the address of the open ftp server. For example, if my local computer is open 127.0.0.1
3. Enter the user name and password as prompted, and prompt that the logon is successful. The FTP server I set up with xlight is used.
1 ftp> open 127.0.0.12 is connected to 127.0.0.1. 3 220 xlight FTP server 3.8 ready... 4 user (127.0.0.1 :( none): ranger5 331 Password required for ranger6 password: 7 230 login ok8 ftp>
4. List Directory Information: ftp> dir
5. Create a directory: ftp> mkdir test_2014_0731
6. Go to the directory: ftp> Cd test_2014_0731
7. display the current local working directory: ftp> LCD
8. Go to the local working directory: ftp> LCD test123
9. display the local working directory information: ftp>! Dir
10. Switch to binary mode: ftp> Bin
11. Upload: ftp> put ABC. xml
12. Download: ftp> Get ABC. xml
13. Delete All: ftp> Delete *.*
14. View All commands by using hell: ftp> help
The command may be abbreviated. Command :! Delete literal prompt send? Debug ls put statusappend dir mdelete PWD traceascii disconnect mdir quit typebell get mget quote userbinary glob mkdir Recv verbosebye hash MLS remotehelpcd help mput renameclose LCD open rmdir