Download file from efs






















The manual procedure I follow is: Copy the file from efs to my Amazon ec2 instance using sudo cp Copy from ec2 to my local machine using scp or FileZilla drag and drop Is there a way it can be done running a shell script in which I give two inputs: source file address and save destination directory?

Can two steps be reduced to one i. Ddoe Ddoe 31 1 1 silver badge 5 5 bronze badges. I got the answer to this! Add a comment. Active Oldest Votes. While SCP can work, you need to keep them in sync all the time between your local and remote. Hope it helps. Kannaiyan Kannaiyan How to keep them in sync? Mounting would be the clean way to do it. So you can access remote files in your local file system.

If you maintain your files with a version control such as git you can go back in history to see if you want to go back with your changes. If you prefer to sync the files back and forth, you can use rsync with cron, so it updates remote files with local changes on periodic basis. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown.

The Overflow Blog. Podcast Who is building clouds for the independent developer? Exploding turkeys and how not to thaw your frozen bird: Top turkey questions Featured on Meta. Learn more. Asked 4 months ago. Active 4 months ago. Viewed times. I am currently doing a research to find a method to download the files from EFS. John Rotenstein k 17 17 gold badges silver badges bronze badges. Lahiru Ferreira Lahiru Ferreira 11 6 6 bronze badges.

Add a comment. Active Oldest Votes. John Rotenstein John Rotenstein k 17 17 gold badges silver badges bronze badges.

If you write something that will respond to those API requests, then yes. Thank you. Do you have any documentation to follow? Frankly, I would suggest that you re-evaluate your current system architecture.

Upload a file to server side directory mount path of efs and the upload works fine. Now I need to download a file which is inside the mount path directory to local machine using nodejs. Show 1 more comment. Sign up or log in Sign up using Google. Sign up using Facebook.



0コメント

  • 1000 / 1000