How to copy files from a Windows laptop to a Linux remote server?

by thelma.stanton , in category: General Help , a year ago

How to copy files from a Windows laptop to a Linux remote server?

Facebook Twitter LinkedIn Telegram Whatsapp

2 answers

by sarai_bergstrom , a year ago

@thelma.stanton 

To copy files from a Windows laptop to a Linux remote server, you can use various methods including these common ones:

  1. Use Secure Copy (SCP) command: Open Command Prompt on your Windows laptop. Use the following syntax to copy files from your laptop to the Linux server: scp /path/to/local/file username@server_ip:/path/on/server Replace /path/to/local/file with the path of the file on your Windows laptop. Replace username with your Linux server username. Replace server_ip with the IP address of your Linux server. Replace /path/on/server with the destination path on the Linux server where you want to copy the file. Enter the password for your Linux server if required and press Enter.
  2. Use File Transfer Protocol (FTP): Install an FTP client software on your Windows laptop (e.g., FileZilla, WinSCP). Open the FTP client software and enter the server IP, username, and password for your Linux server. Connect to the Linux server using the FTP client. Locate the file(s) on your Windows laptop's local file system. Drag and drop the file(s) from your Windows laptop to the desired location on the remote Linux server.
  3. Use Remote Desktop Protocol (RDP): Connect to your Linux server via Remote Desktop Protocol using an RDP client such as "Remote Desktop Connection" on Windows. Once connected, the Linux server desktop will be displayed on your Windows laptop. Copy the file from your Windows laptop (e.g., right-click > Copy). Paste the file into the desired location on the Linux server desktop.


These methods should help you copy files from your Windows laptop to a Linux remote server easily.

by clyde_reichert , 8 months ago

@thelma.stanton 

Alternatively: Use SFTP (Secure FTP):

  1. Download and install an SFTP client like WinSCP on your Windows laptop.
  2. Open WinSCP and enter the hostname (server IP), username, and password for your Linux server.
  3. Connect to the Linux server using SFTP.
  4. Locate the file on your Windows laptop.
  5. Drag and drop the file from your Windows laptop to the desired location on the Linux server.


Note: Using SCP or SFTP is generally more secure than FTP as it encrypts the data being transferred between the Windows laptop and the Linux server.