FTP Server:media.cun.edu.cn
User:anonymous (anonymous login)
Password:
Login
Method One, under the Windows Start menu, execute the Run command, enter the FTP in the dialog box, press the OK button will switch to the DOS window, a command prompt
Ftp>
Type the command media.cun.edu.cn connect to the FTP server:
Ftp> media.cun.edu.cn
Method Two, execute "Run" command, enter CMD in the dialog box, switch to DOS window, appear command prompt
C:documents and Settingsadministrator>
Type the command FTP media.cun.edu.cn connect to the server:
C:documents and Settingsadministrator>ftp media.cnu.edu.cn
Wait a moment, the screen prompts for a successful connection:
Ftp> connected to media.cun.edu.cn
The server then asks for the username and password user (media.cnu.edu.cn: (None)): Anonymous
Password: (no password direct return) to be certified through.
<!--[If!supportlinebreaknewline]-->
<!--[endif]-->
Upload file:
For example, to pass the C:test.doc to the root directory of the server, you can type:
Ftp> put C:test.doc (carriage return)
When the screen prompts you to complete the transfer, you can type the relevant commands to view:
ftp> dir (carriage return)
Download file:
Suppose you want to pass the Type.txt file in the server open directory to this computer, you can enter the directive:
Ftp> CD Open (enter) [Note: Enter the Open Directory]
Ftp> Type.txt
Upload and download work finished, type bye (quit) Disconnect:
Ftp> Bye (carriage return)
Common FTP commands:
1. Open: Connect with the server;
2. Send (Put): Upload file;
3. Get: Download file;
4. mget: Download multiple files;
5. CD: Toggle directory;
6. Dir: View the files in the current directory;
7. del: Delete file;
8. Bye: Interrupts the connection to the server.
To learn more, type ftp> help (Enter)
To view a set of commands:
ASCII: Set to transfer files in ASCII (default)
Bell: Every time you complete a file transfer, Alarm prompts
Binary: Set to transfer files in binary mode
Bye: Terminate the host FTP process and exit FTP admin mode
Case: When on, use the mget command to copy the filename to the local machine and convert all lowercase letters
CDS: CD command with UNIX
Cdup: Back to the previous level of the directory
chmod: Changing file permissions on remote hosts
Close: Terminates the remote FTP process, returns to the FTP command state, and all macro definitions are deleted
Delete: Remove files from the remote host
dir [remote-directory] [Local-file]: Lists the files in the current remote host directory. If you have a local file, write the result to a local file
get [Remote-file] [Local-file]: Transfer from remote host to local host
Help [command]: An explanation of the output command
LCD: Change the working directory of the current local host, if default, go to the current user's home directory
LS [remote-directory] [local-file]: Same dir
Macdef: Defining macro Commands
Mdelete [Remote-files]: Deleting a batch of files
Mget [Remote-files]: Receive a batch of files from a remote host to the local host
mkdir directory-name: Creating a directory in a remote host
Mput local-files: Transfer a batch of files from a local host to a remote host
Open host [port]: Re-establish a new connection
Prompt: Interactive hint mode
Put Local-file [Remote-file]: Transfer a local file to a remote host
PWD: Lists the current remote host directory
Quit: With bye
Recv Remote-file [local-file]: Same get
Rename [from] [to]: change the filename in the remote host
RmDir directory-name: Removing directories from the remote host
Send Local-file [remote-file]: Same put
Status: Displays the status of the current FTP
System: Display remote Host system type
User user-name [Password] [account]: Re-login to remote host with another user name