I believe Window SCP can do it, but I want to know if there is a command which I can use to transfer a file from my laptop to my unix account in school.

I will be using putty.

link|improve this question
feedback

migrated from stackoverflow.com Feb 8 at 1:04

This question came from our site for professional and enthusiast programmers.

2 Answers

up vote 2 down vote accepted

you'd need to use pscp which is part of the putty package

the commands will be

pscp [options] [user@]host:source target

So to copy the file foo.txt in the directory /path/to/ from the server example.com as user fred to the file c:\temp\bat.txt, you would type:

pscp fred@example.com:/path/to/foo.txt  c:\temp\bar.txt

I'd rather use cyberduck with scp tho, its graphical and a lot easier

link|improve this answer
thanks for the tips. i decided to just use winscp. – Joe Chen Feb 8 at 21:22
feedback

The best to do first is to ask to your school Unix System Administrator. He is the best person to give you the advice on this subject. Right?

If the "U.S.A." ask you to use PuTTy here's an excellent tutorial from GHacks: putty tutorial from Ghacks:

About PuTTy and Tutorials, including a PuTTy Tutorial

http://www.ghacks.net/2008/02/09/about-putty-and-tutorials-including-a-putty-tutorial/

link|improve this answer
1  
lols, i went and i got the "um im not sure, let me check and ill get back to you" answer. i was trying to use ftp but it didnt work, im guessing maybe some security reasons. – Joe Chen Feb 8 at 1:54
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.