Monday, 13 June 2011

Files transfer between Linux and Windows

Dear All,
Wondering "How to transfer files between Windows and Linux systems"??? Here you go with the steps....
There are multiple ways to share/transfer the files between Linux and Windows. Here I will talk 2 ways to achieve the same.
One way:

  1. Share a folder in your Windows machine with a specific user name and credentials (ex: share folder is: Share and Username: temp and password: temp)
  2. Log in to your Linux box/VM/machine using root.
  3. Create a directory in /mnt (where the Windows share will be mounted. ex:mount_windows_share)
  4. Type the following command to have windows share mounted:                                                                 # mount -t smbfs -o username=temp Windows_Share_Location /mnt/mount_windows_share
  5. You will be prompted to enter the password. Enter "temp" as the passowrd (see the step 2).
The above mentioned steps will mount the windows share on to the /mnt/mount_windows_share directory. Now you will see the contents of windows (share) directory in /mnt/mount_windows_share. If you want to transfer any files from Linux to Windows, then copy the file from Linux machine to /mnt/mount_windows_share directory (which will automatically get copied to windows share folder).

2nd way is:
  1. Install an application called "WinSCP" in your Windows environment.  
  2. Make sure you have Enabled SSH on your Linux system.
  3. Launch WinSCP.
  4. Enter the IP address, user name and credentials in the WinSCP (of Linux System to which you want to connect to ).
  5. You will see a windows explorer listing all the files available in the Linux machine.
Now, you can copy and paste files as iff like a windows environment. ...

Please leave your comment once you read it using the "comment" option provided below. Thanks for your cooperation. 


  1. Hi dude,
    Nice efforts...

  2. "One way:" will not work in a dmz
    "2nd way:" will