Start a Conversation

Unsolved

This post is more than 5 years old

977

May 7th, 2015 12:00

How to download named file using access token?

Hello,

I'd like to be able to use an access token in a URL to enable an anonymous user to download a file only once, directly from Atmos. However, I think I can only get it named as the object id.

Is there any way I can pass a disposition? Alternatively, can I generate a shareable URL that can only be used a single time?

Thanks for any help,

Ephraim Mower

5 Practitioner

 • 

274.2K Posts

July 22nd, 2015 09:00

You can let non-authenticated users to upload data to or download data from Atmos by:

"Using shareable URL's" - Allows anonymous users to download one file/object. The URL expires at a predetermined time.

or

"Using access tokens for anonymous upload and download" - Allows anonymous users to upload or download one file/object as defined by the access token.

A sharable URL has the following syntax:

http://MyAtmosServer/location?uid=uid&expires=expires&signature=signature&disposition=attachment&filename="myfile.txt"

Hope this helps

No Events found!

Top