we have seen most of them find it difficult to transfer files from Windows to Linux. It’s not because they don’t know how to transfer, but due to the restrictions made on the servers for installing software like Filezilla or others.
Most of the IT companies allow to install PuTTY. Using PuTTY, you can transfer files with pscp command:
Usage: pscp [options] [user@]host:source target pscp [options] source [user@]host:target pscp [options] -ls user@host:filespec Options: -p preserve file attributes -q quiet, don't show statistics -r copy directories recursively -v show verbose messages -P port connect to specified port -pw passw login with specified password
Install PuTTY installer on your Windows system. It will create PuTTY folder in Program Files directory in the Windows machine. Open command prompt and navigate to the folder where PuTTY has been installed(for eg: C:\Program Files\PuTTY\) and run the pscp command as shown below:
C:\> cd “Program Files\PuTTY”
C:\Program File\PuTTY> pscp <file-name> <destination address:/location”
Eg: C:\Program File\PuTTY> pscp c:\a.zip firstname.lastname@example.org:/home/cpadmin
You will be prompted for the destination server password. Once you give the correct password, it will transfer the files