0

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

Jeevan Dongre
  • 741
  • 2
  • 17
  • 33

1 Answers1

2

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

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

Sirex
  • 5,499
  • 2
  • 33
  • 54
  • 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 06 '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 06 '11 at 10:27