Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the ways to transfer files

2025-02-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly introduces the ways of transferring files. It is very detailed and has a certain reference value. Friends who are interested must finish reading it.

The way to transfer files is generally using FTP, which is both fast and convenient. This article will show you a new way, SCP.

Preface of ❞

File transfer FTP is our most common, but I only recently learned that there is another way SCP can transfer files directly to the remote.

This method is also provided by the comments section, and I would like to thank the big shot named Nebula.

Today, I would like to introduce to you this way.

Any tool exists for a reason, not that with FTP we refuse to use anything else and refuse to learn other new tools.

The SCP command uses the

SCP is based on linux to copy files and directories, of course, can be directly transferred from win to remote, virtual machine, remote and remote transfer is possible, it is also very convenient to use.

SCP has a lot of parameters, and Kaka won't demonstrate it one by one. It's not necessary. I just forgot a few days after the demonstration. I just need to write a few practical ones.

This article shows you two cases, one is to transfer files from the local to the virtual machine, and the other is to transfer files from the virtual machine to the local. Remote and remote direct transmission is also possible, the use of commands is the same.

"transfer from local to remote"

Scp local_file remote_username@remote_ip:remote_folderlocal_file: local file remote_username: remote user name remote_ip: remote machine IP address remote_folder remote file

Create a file locally and then transfer the file to the virtual machine

Execute instruction: scp kaka.txt root@192.168.253.129:/

Then we can go to the virtual machine and see the files we created locally.

"transfer from remote to local"

Execute scp root@192.168.253.129:/xnj.txt C:\ Users\ Administrator\ Desktop

In fact, it is only necessary to change the location between the two remote and local addresses.

Persisting in learning, blogging and sharing are the beliefs that Kaka has always adhered to since his career. I hope Kaka's article on the Internet will give you a little bit of help.

❞above is the way to transfer files. What are all the contents? thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report