Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question
add comment

migrated from stackoverflow.com Feb 8 '12 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

share|improve this answer
    
thanks for the tips. i decided to just use winscp. –  Joe Chen Feb 8 '12 at 21:22
add comment

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/

share|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 '12 at 1:54
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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