Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Hello I am running ec2 ubuntu instance, now I need to download few files to my local ubuntu machine from my server. How to do it.

I went through few instructions available on internet, which are not working for me.

Kindly help me in this regard.I am pretty much aware of ssh/scp and rsync

share|improve this question

1 Answer 1

up vote 2 down vote accepted

scp [user]@server-ip:/path/to/file .

should do the job. it'll put it in current dir.

share|improve this answer
    
I have few php files in my server now I need to download that to my local system, how do I do that. I tried the command which u mentioned but its not working –  Jeevan Dongre Jun 6 '11 at 10:07
1  
/path/to/files/*.php . is ssh working, and is scp allowed ? You can also do scp -r to copy a whole folder. Make sure the -r is before the rest of the command though. –  Sirex Jun 6 '11 at 10:27

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.