Linux – Quickest way to transfer a file from remote Linux to Windows

file-transferlinuxwindows

I need to transfer a file (~15 Mb) from a remote Linux machine to my local Windows box over the Internet and I was just wondering what would be the best way to do it? The Linux machine is a server sitting behind firewalls so that solutions need to open other ports may not be suitable. I'm currently connected to the Linux machine via SSH(Putty) and I prefer to use the command line.

Thanks in advance.

Best Answer

If you prefer the command line, try pscp.exe on the local machine, from the lovely Putty people.

pscp.exe <user>@<remote ip>:<remote file> <local file>
e.g. pscp.exe smith@122.100.150.161:/etc/hosts ./hosts

http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html