Downloading files via File Explorer links

The File Explorer now accepts an option named ‘direct_link’. When true, the links created via the File Explorer will download the file for the user, rather than present a view for the file in the appropriate cloud storage service.

This functionality enables your app’s users to download and create local copies of the file — perfect for collaboration and file transfer use-cases.

Embedding links in web pages

Speaking of direct links, they can now be accessed with an “inline=true” query parameter that sets the Content-Disposition of the downloaded file to “inline” rather than “attachment”.

This is useful when embedding links in web pages, since you can display the content for your users directly, instead of through the cloud storage service.

Give Kloudless a try — we’re available to help on Twitter @KloudlessAPI, StackOverflow, IRC, or in the comments below.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.