FTP command detailed

Source: Internet
Author: User
Tags ftp terminates file permissions

ASCII: Set to transfer files in ASCII (default)

Bell: Every time you complete a file transfer, Alarm prompts.

Binary: Sets the file to be routed in binary mode.

Bye: Terminates the host FTP process and exits the FTP admin mode.

Case: When on, use the mget command to copy the filename to the local machine and convert all lowercase letters.

CD: cd command with UNIX.

Cdup: Returns to the previous level of the directory.

chmod: Change file permissions on remote hosts.

Close: Terminates the remote FTP process, returns to the FTP command state,

All macro definitions are deleted.

Delete: Deletes files from the remote host.

dir [remote-directory] [Local-file]

Lists the files in the current remote host directory. If there is a local file, the result

Write to local file.

get [Remote-file] [Local-file]

Transfer from the remote host to the 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]

With Dir.

Macdef: Define macro commands.

Mdelete [Remote-files]

Deletes a batch of files.

Mget [Remote-files]

Receives a batch of files from the remote host to the local host.

mkdir Directory-name

Create a directory in the remote host.

Mput Local-files

Transfers 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]

Transfers a local file to the remote host.

PWD: Lists the current remote host directory.

Quit: With bye.

Recv Remote-file [Local-file]

With Get.

Rename [from] [to]

Change the file name in the remote host.

RmDir directory-name

Deletes a directory in the remote host.

Send Local-file [Remote-file]

With put.

Status: Displays the status of the current FTP.

System: Displays the remote host system type.

User user-name [Password] [account]

Re-log on to the remote host with another user name.

?: With Help.



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.