Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

migrated from Feb 8 '12 at 1:04

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

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 as user fred to the file c:\temp\bat.txt, you would type:

pscp  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. – Yao Chen Feb 8 '12 at 21:22

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

share|improve this answer
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. – Yao Chen Feb 8 '12 at 1:54

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .