Looktrne Posted February 14, 2008 Share Posted February 14, 2008 can anyone tell me the command to upload a file from my windows desktop to my linux server using putty It takes for ever using ftp and would like to know how to import a file from my desktop to the server using command line thanks Paul Quote Link to comment Share on other sites More sharing options...
trq Posted February 14, 2008 Share Posted February 14, 2008 Can't be done via putty, but go to putty's download page and get pscp. You will then need to place this within your path (The system directory on windows I think). Then, you simply need open a cmd terminal, and excute something like.... pscp.exe name-of-file.foo username@hostname:name-of-file.foo This would copy the file to your username home directory. To put the file into say /home/username/foo you would use... pscp.exe name-of-file.foo username@hostname:foo/name-of-file.foo Quote Link to comment Share on other sites More sharing options...
Looktrne Posted February 14, 2008 Author Share Posted February 14, 2008 thanks Paul Quote Link to comment Share on other sites More sharing options...
powerspike Posted February 15, 2008 Share Posted February 15, 2008 If you are using windows, i would suggest you look at winscp, it's free, and uses scp as a transfer protocol, with ftp as fallback if needed. If you are uploading a lot of files, try putting then in one archive and unzip them on the server directly, this will save you alot of time as well. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.