It Ninja Turtles under Windows FTP command Daquan

Source: Internet
Author: User
Tags ftp commands

FTP Server:home4u.at.china.com

User:yepanghuang

Password:abc123

Open the Windows Start menu, execute the "Run" command, enter FTP in the dialog, press "OK" button will switch to DOS window, a command prompt appears

Ftp>

Type the command to connect to the FTP server:

Ftp> Open home4u.at.china.com (carriage return)

Wait a moment, the screen prompts the connection to succeed:

Ftp> connected to Home4u.china.com

Then the server asks the user name and password, enter Yepanghuang and abc123, respectively, to be certified.

To upload a file, for example, to pass the a:\index.html to the root of the server, you can type:

Ftp> put a:\index.html (carriage return)

When the screen prompts you to complete the transfer, you can type the relevant command to view:

ftp> dir (carriage return)

Download, suppose you want to transfer all of the. jpg files in the server \images directory to this machine, you can enter instructions:

ftp> CD images (carriage return) [Note: Enter \images directory]

Ftp> mget *.jpg

Upload and download work completed, type bye interrupt connection.

Ftp> Bye (carriage return)

Summarize the Common FTP commands:

1. Open: Connect to the server;

2. Send (Put): Upload files;

3. Get: Download files;

4. mget: Download multiple files;

5. CD: Switch directory;

6. Dir: View the files in the current directory;

7. del: Delete files;

8. Bye: Interrupts the connection to the server.

If you want to learn more, you can type

ftp> Help (carriage return)

To view the command set:

ASCII: Set to transfer files in ASCII mode (default value)

Bell: Every time a file transfer is completed, Alarm prompts

Binary: Set to transfer files in binary mode

Bye: Terminates the host FTP process and exits the FTP management mode

Case: When on, the file name copied with the Mget command to the local machine, all converted to lowercase letters

CD: cd command with UNIX

Cdup: Return to the top level directory

chmod: Changing file permissions for 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 results to a local file

get [Remote-file] [Local-file]: Transfer from the remote host to the local host

Help [command]: 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]: With dir

Macdef: Define macro commands

Mdelete [Remote-files]: Delete a batch of files

Mget [Remote-files]: Receive a batch of files from the remote host to the local host

mkdir directory-name: Creating a directory in the remote host

Mput Local-files: Transferring a batch of files from the local host to the remote host

Open host [port]: Re-establish a new connection

Prompt: Interactive prompt mode

Put Local-file [Remote-file]: Transfer a local file to the remote host

PWD: Lists the current remote host directory

Quit: With bye

Recv Remote-file [local-file]: Same get

Rename [from] [to]: Change the file name in the remote host

RmDir directory-name: Deleting a directory from a remote host

Send Local-file [remote-file]: Same put

Status: Displays the state of the current FTP

System: Show remote host systems type

It Ninja Turtles under Windows FTP command Daquan

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.