Use SSH to transfer files between linux and linux, and between linux and windows-Linux Enterprise Application-Linux server application information. For more information, see the following. Transfer files between linux and linux:
Scp file username @ hostIP: file address example:
Scp abc.txt endall @ IP:/home/endall/abc.txt
Transfer files between windows and linux:
I use putty's built-in PSCP. Others such as SSH Secure File Transfer Client
From linux to windows
In windows, how does one use putty's psftp to upload and download data from linux?
Run psftp.exe in windows. After logging on, change the directory in linux:
Cd/usr/
Change the upload and download directories in windows:
LCD d :/
This directory cannot be listed in psftp. I think this is not very good. If it is not changed, it will be the default putty installation directory. It will be downloaded here by default, and the uploaded files will also be included in this folder.
For example, in d: the disk has a 5. rmvb
Upload files to linux: psftp> put 5. rmvb
This command uploads d: \ 5. rmvb to/usr/5. rmvb.
Download files from linux: psftp> get 4. rmvb
This command downloads/usr/4. rmvb to d: \ 4. rmvb.
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.