# how do i transfer files from my pc to a unix account in school?

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.

-

## migrated from stackoverflow.comFeb 8 '12 at 1:04

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

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

-
thanks for the tips. i decided to just use winscp. –  Joe 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