Download files or folders

This method permits to download a single file or multiple files/folders.

If you specify folders or multiple files, the method will zip all of these and send a zip.

URL

(GET) projects/{projectid}/files/{locale}/file

PARAMETERS

token

The connection token

Required

projectid

The project

Required

locale

The language.

Required

names

The path/name of the file or files to download.To download multiple files, separate the file names/paths by ":". The files will be zipped and the method returns a zip file.

Note: If you use path or you have spaces in your file name you need to encode the string (https://www.urlencoder.org/)

Required

zip

If set to "true", the downloaded file will be zipped. If omitted, the file is not zipped.

Optional

 

RESULTS

Returns stream of bytes





Copyright Wordbee - Buzzin' Outside the Box since 2008