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

link|improve this question

feedback

1 Answer

up vote 2 down vote accepted

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

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

link|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
feedback

Your Answer

 
or
required, but never shown

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