Downloading a file from EC2 Linux instance to local computer

0 votes

I have an EC2 Ubuntu instance and there are some project files stored in that instance. I was trying to transfer those files to my local computer. But I am getting an error.

scp -i /home/ritesh/.ssh/......./myfiles.zip(Source File)

But i am getting an error. So, what could be the issue?

Apr 29 in AWS by datageek
• 3,040 points
51 views

1 answer to this question.

0 votes

It would have been better if you had specified that error message. Anyway, the problem might be because you haven't specified the destination path. If it's in your current directory, just add . to your command.

Hope this helped!

answered Apr 29 by Archana
• 5,560 points

Related Questions In AWS

0 votes
1 answer

How to download a file from EC2 instance to local computer?

You need to specify your download location. ...READ MORE

answered Oct 10, 2018 in AWS by Archana
• 4,090 points
319 views
0 votes
1 answer
0 votes
1 answer

Copy file from EC2 instance to my local machine.

You can use a tool called FileZilla.  You ...READ MORE

answered Dec 14, 2018 in AWS by Shuvodip
552 views
0 votes
1 answer
0 votes
1 answer
–1 vote
1 answer

How to read a csv file stored in Amazon S3 using csv.DictReader

The code would be something like this: import ...READ MORE

answered Oct 25, 2018 in AWS by Archana
• 5,560 points
7,582 views