Message:

File Management API

Easy-to-use API for file operations in your File Hosting storage

Backendless Hosting features a rich collection of native and cross-platform APIs allowing complete control of the remote file system.

Browse all features or select one to view

Browse all features or select one to view

Cross Platform File Upload API

Backendless SDKs provide native support for file upload. Additionally, we publish REST API specification for uploading files to the Backendless Hosting storage. Applications can upload local files and save them in any remote directory. Alternatively, apps can create files from an arbitrary content, thus turning anything into a file – an array of bytes taken by a mobile camera, a voice recording or text entered by the user.

Universal File Download API

Files uploaded and created in the Backendless Hosting storage can be retrieved using standard download mechanisms. Regardless of the programming language used by developers to build an app, a file can be easily downloaded from the remote storage. The API also supports the scheme where files and directories can be protected with user or roles-based security. A download request in this case must be associated with an identity  (token) of an authenticated user.

Directory Listing API

Retrieving the contents of a directory from the remote file storage may be a common operation for a variety of apps. For example, an image gallery may load the listing to create an index of available files, a document storage system may need to obtain a list of documents for a specific user. Whatever the use-case is, the API makes it very easy to get a directory listing. Just like with all other APIs, directory listing is available in the native form as well as REST.

Copy, Move, Delete API

The API includes support for basic file management operations – copying or moving files in the remote storage from one directory to another, renaming or deleting files. The API is available in the native form through the Backendless SDKs or as REST API.

Permission API

The Permission API allows an app to control access to files and directories for the application’s users and roles. The file permission system is based on triplet of values consisting of subject (a file or a directory), operation (read, write, delete, etc) and the principal (user or a role). The triplets of values are organized into groups of grants or rejects. Using the API a principal can be either granted or denied a permission to execute an operation on a file or a directory.