The FTP command is one of the most frequently used commands for Internet users. Whether you use FTP under DOS or UNIX operating systems, you will encounter a large number of FTP internal commands. Familiar and flexible application of FTP internal commands can greatly facilitate users and get twice the result with half the effort.
The command line format of FTP is: ftp -v -d -i -n -g [hostname], where
-v displays all response information of the remote server;
-n restricts automatic login of ftp, ie not used;
-i etrc file;
-d uses debug mode;
-g cancels global file name.
The internal commands used by ftp are as follows (brackets indicate optional):
1.![cmd[args]]: Execute the interactive shell in the local machine, exit returns to the ftp environment, Such as: !ls*.zip.
2.$ macro-ame[args]: Execute macro definition macro-name.
3.account[password]: Provides login to remote system successfully The supplemental password required to access system resources.
4.append local-file[remote-file]: Append local files to the remote system host. If no remote system file name is specified, the local file name is used.
5.ascii: Use the ascii type transmission method.
6.bell: The computer rings once after each command is executed.
7.bin: Use binary file transfer.
8.bye: Exit the ftp session process.
9.case: When using mget, convert the uppercase in the remote host file name to lowercase.
10.cd remote-dir: Enter the remote host directory.
11.cdup: Enter the parent directory of the remote host directory.
12.chmod mode file-name: Set the access mode of the remote host file file-name to mode, such as: chmod 777 a.out .
13.close: Interrupt the ftp session with the remote server (corresponding to open).
14.cr: When using ascii to transfer files, convert carriage return to line feed.
15.delete remote-file: Delete remote host files.
16.debug[debug-value]: Set the debug mode to display each command sent to the remote host, such as: deb up 3, if set to 0, cancel the debug.
17.dir[remote-dir][local-file]: Display the remote host directory and save the result to the local file local-file.
18.disconnection: Same as close.
19.form format: Set the file transfer mode to format, the default is file mode.
20.get remote-file[local-file]: Transfer the remote host's file remote-file to the local-file of the local hard disk.
After logging in to Weibo, users can see that they have “delete” under the microbl
When I first started playing WeChat, I didn’t understand this. It’s really an ann
Network Ants (NetAnts) and Internet Express (FlashGet) are commonly used downloadi
Recently, many friends who installed Jinshan New Drug Blaster will see a cheetah
IE8 open web page pop-up script prompt box
How do I restore photos downloaded from MSN to their original size?
After WeChat deletes a friend, can the other party see my circle of friends?
MSN can't log in, report 0x81000301 error
Mini Thunder, IE Download Acceleration Patch
Maxthon has a mshtml.hlp error when saving images
Why can't IE save JPG files on webpages
The official version of IE 7 personalized set skills two
Solution for web page printing cannot be displayed on full paper
Extract code extraction? 115 network disk extraction code application strategy
Where is Santa Claus? Win10 map location tracking target
Download Flash animation a good helper - Flash Saver
Clearly understand the heart of Windows8, the program runs under control
Win8 system NIC driver installation failure solution
Windows 7 and Vista leave mode
Win10 UWP version of "Viber" official version released: new video call