Let's assume an ftp address username and password
FTP Server: home4u.at.china.com
User: yepanghuang
Password: abc123
Open the Windows Start menu, execute the “Run” command, enter ftp in the dialog box, press the “OK” button to switch to the DOS window, the command prompt appears
ftp> Command to connect to the FTP server:
ftp> Open home4u.at.china.com (Enter)
Wait a moment, the screen prompts the connection is successful:
ftp> connected to Home4u.china.com
Next, the server asks for the username and password, and enters yepanghuang and abc123 respectively, and the authentication is passed.
ftp upload file under windows:
For example, to upload D:\\index.html to the root directory of the server, you can type:
ftp> put D:\\ (Enter)
When the screen prompts you that the transfer has been completed, you can type the relevant command to view:
ftp> dir (Enter)
ftp upload under windows Download:
Suppose you want to download all the .jpg files in the server \\images directory to the machine, you can enter the command:
ftp> cd images (Enter) [Note: Enter\\ Images directory]
ftp> mget *.jpg
After ftp upload and download work on windows, type bye to disconnect.
ftp> bye(Enter)
Here are some commonly used FTP commands:
1. open: connect to the server;
2. Send(put): upload file;
3. get: download file;
4. mget: download multiple files;
5. cd: switch directory; Br>
6. dir: View the files in the current directory;
7. del: delete files;
8. bye: interrupt the connection with the server.
If you want to know more, you can type
ftp> help (Enter)
View command set:
ascii: Set in ASCII mode Transfer file (default)
bell: File transfer every time a file is transferred,
binary: Set to transfer files in binary
bye: Terminate host FTP process And exit the FTP management mode
case: When it is ON, use the MGET command to copy the file name to the local machine, all converted to lowercase letters
cd: same as the UNIX CD command < Br>
cdup: Return to the previous directory
chmod: Change the file permissions of the remote host
close: Terminate the remote FTP process and return to the FTP command state, all Macro definitions are deleted
delete: delete files in remote host
dir [remote-directory] [local-file]: List files in the current remote host directory. If there is a local file, write the result to a local file
get [remote-file] [local-file]: Transfer from the remote host to the local host
help [c Ommand]: Explanation of the output command lcd: Change the working directory of the current local host. If it is the default, go to the current user's HOME directory
ls [remote-directory] [local-file]: Same as DIR< Br>
In the Windows network environment, the domain is the core. In fact, the concept of the domain has b
2015.7.29 Microsoft released the official version of Windows 10, many netizens want to know how to u
Since the Win8 era, if you havent activated your current system, you cant enjoy the personalization
Win10 taskbar color is not a constant black, but can be set a lot of colors, green orange red green
Win7 open letter USER32.dll error solution
How to use win10 to quickly switch programs with task view?
Microsoft confirmed the launch of the Win10 version of the official DVD Player player application
Win10 adjusts virtual memory to increase computer speed
Win10 Build 9888 uses offline maps to use maps while offline
Win10 Preview 10547 Express Edition Update and Fix Content
How to set up Win8 system with left-handed left-hander using mouse
How to improve Win10 boot speed and speed up Win10 boot speed four ways
How to disable the Win8 gesture function
Configuring Internet access for DNS in Windows Server 2003
The system personalizes two cases of
How to solve the "Explorer.exe application error" prompt window in Win7 system?
Abandoning Linux's 40 reasons to use Vista
Win10 First Anniversary Update June Bug Cleaning Campaign Opens
Tip: Windows XP alternative uninstall six methods
Support for a variety of latest hardware AIDA64 v4.30 latest Chinese version
Win10 first anniversary update version of Edge browser will usher in the light off extension plugin