In development, we often need to send files or codes to remote servers. If the remote server is a Windows system, it is good to be able to paste and copy. If you can paste and copy, you can use the following methods:
1. Use the xftp tool
This can be achieved using the corresponding remote connection file transfer tool, such as the xftp service in the Xmanager management tool. Enter the IP address of the corresponding service, select the sftp service, and enter the corresponding username and password to connect.
After connecting to the interface, dragging each other can realize file transfer.
2. Use the shared folder function that comes with Windows
Specific steps are as follows:
(1) Select the folder you want to share on the remote server, for example:
(2) Right-click the folder you want to share -----> Select the folder "Properties" -----> Switch to "Sharing" Tab
(3) click Share, share from the folder, and then set the permission to read by EveryOne. Other user permissions can also be set.
(4) The local computer accesses the shared folder of the remote server and can perform read and write operations:
On the local computer, click Start----->Run, enter the \IP address
and click OK, enter the user name and password to enter the remote server in the shared folder.
Drag a local picture into the shared folder and it can be accessed on the remote server. This enables file transfer between the local machine and the server segment.