SFTP command list for query

Source: Internet
Author: User

Available commands:

ascii                          Set transfer mode to ASCIIbinary                         Set transfer mode to binarycd path                        Change remote directory to ‘path‘lcd path                       Change local directory to ‘path‘detail remote-path             Display system information about remote                                 file or folderldetail local-path             Display system information about local                                 file or folderchgrp group path               Change group of file ‘path‘ to ‘group‘chmod mode path                Change permissions of file ‘path‘ to ‘mode‘chown owner path               Change owner of file ‘path‘ to ‘owner‘exit                           Quit sftphelp                           Display this help textinclude filename               Include commands from ‘filename‘                                 Alternate: < filenameget [-r][-a | -b] remote-path  Download file                                 -r downloads directory recursively                                 force ascii (-a) or binary (-b) modeln [-s] existingpath linkpath  Hardlink / symlink remote filels [options] [path]            Display remote directory listinglls [options] [path]           Display local directory listingmkdir path                     Create remote directorylmkdir path                    Create local directorymv oldpath newpath             Move remote filelmv oldpath newpath            Move local fileopen [[email protected]]host[:port]        Connect to remote hostput [-r][-a | -b] local-path   Upload file                                 -r uploads directory recursively                                 force ascii (-a) or binary (-b) modepwd                            Display remote working directorylpwd                           Print local working directoryquit                           Quit sftprename oldname newname         Rename remote filelrename oldname newname        Rename local filermdir path                     Remove remote directorylrmdir path                    Remove local directoryrm path                        Delete remote filelrm path                       Delete local filesu username                    Substitutes the current user                                 This is only supported with VShell for                                  Windows 3.5 or later.type [transfer-mode]           Display or set file transfer modeview remote-path               Download and open fileversion                        Display protocol version

Available commands:

CD path change remote directory to "path" LCD path change local directory to "path" chgrp Group Path change file "path" group to "group" chmod mode path change file "path ""permission to" Mode "chown owner path to change the owner of the file" path "to" owner "Exit exit SFTP help display this help text get remote path download file ln existingpath linkpath symbolic Link Remote File ls [Option] [path] display remote directory list lls [Option] [path] display local directory list mkdir path create remote directory lmkdir path create local directory MV oldpath newpath move remote File Open [user @] host [: port] connect to the remote host put local path Upload File PWD display remote working directory lpwd print local working directory quit exit SFTP rmdir path remove remote directory lrmdir path remove local directory RM path Delete Remote File lrm path delete the local File Symlink existingpath linkpath. The remote file version displays the Protocol version.

 

SFTP command list for query

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.