Kloudless Blog

Kloudless Unified APIs enable you to code once and integrate many

Downloading files via File Picker links

The File Picker now accepts an option named ‘direct_link’. When true, the links created via the File Picker 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.

Categories:

Share this article:

Let’s get started. Start building for free today.