Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to get contents of the file from S3 URL? #6

Open
Omnipresent opened this issue Nov 1, 2016 · 0 comments
Open

Is there a way to get contents of the file from S3 URL? #6

Omnipresent opened this issue Nov 1, 2016 · 0 comments

Comments

@Omnipresent
Copy link

Karman allows to get a file stream this way

InputStream is = s3Provider["bucketname"]["somefile.txt"].inputStream

But is it possible to get a file by an S3 URL? i.e.

InputStream is = s3Provider["bucketname"]["https://s3.amazonaws.com/test-bucket/test/something.png"]

This would allow folders while looking for files. In the above example the folder name is test

If the URL fetching isn't allowed, what is a good way to get files from a folder in a bucket?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant