I am following this documentation to download files from EFS https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/efs.html
I have read through the whole documentation and could not figure out a way to download files. Only possible way is that using: generate_presigned_url(). However, the documentation for this part is very limited. I have tried so many times but got stuck. Any suggestion ? Thanks.
The EFS creates a filesystem for you. For example, if you are using linux, it will be available as a NFS share which you can access as a regular file system:
Then you just use your regular python or operating system tools to operated on the files stored in the EFS filesystem.
For example, in python you can use shutil to copy or movie files into and out of your EFS mounted filesystem.
Boto3's interface to EFS is only for its management, not for working with files stored on a EFS filesystem.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With