Using SECURECRT and Linux for file transfer __linux

Source: Internet
Author: User

SECURECRT is a tool for connecting remote servers via SSH.


The basic operation is needless to say, the main explanation and Linux for file transfer.

SFTP command, help description:

Sftp> Help
Available commands:
The CD path changes the remote directory to the path
LCD path Change local directory to "path"
CHGRP group path to change the file "path" to "groups"
chmod mode path Changes the permissions of the file ' path ' to ' mode '
Chown owner Path Changes the owner of the file "path" to "owner"
Exit Exits SFTP
Help displays this helpful text
Get Remote Path Download file
ln existingpath linkpath Symbolic Link remote file
ls [options] [path] Displays a list of remote directories
LLS [Options] [path] Displays a list of local directories
mkdir path to create a remote directory
Lmkdir Path Create local directory
MV OldPath NewPath Mobile remote Files
Open [user @] host [: Port] Connect to remote host
Put local path Upload file
PWD Display Remote working directory
LPWD Print Local working directory
Quit Exit SFTP
RmDir path to remove remote directory
Lrmdir path to remove local directory
RM Path Delete remote file
LRM Path Deletes local file
Symlink existingpath linkpath Symbolic Link remote file
Version shows Protocol versions


As above, the main command for transferring files (download/upload) is get and put.

Related commands:

CD path                        change remote directory to path 
LCD path                       change local directory to path 
ls [options] [path]               show remote directory list 
lls [options] [path]              show local directory list 
Put local path                   upload file get 
remote path                   download file 
pwd  display remote working directory
lpwd print local working directory

1. Upload command

Put native files

For example:

Sftp> put D:/spring-boot-view.jar

* Where are the uploaded files? The command PWD displays the remote current directory, which is the directory where you uploaded the files.


2. Download command

Get remote file

For example:

Sftp> Get/tmp/spring-boot.log

* Where are the uploaded files? The command LPWD displays the remote current directory, which is the directory where you uploaded the files.



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.