Skip to main content

Unzip files or folders

This method permits to unzip files in the library. The method requires that the zip file was uploaded beforehand.

URL

(PUT) projects/{projectid}/files/{locale}/zip

PARAMETERS

token

The connection token

Required

projectid

The project

Required

locale

The language.

Required

zipname

The path/name of the zip file. Example: "myfiles.zip", "folder1\new.zip", etc.

Required

extractto

Optional folder into which to unzip the files. If not set, then the files are unzipped to the base folder of the language.

Optional

overwrite

Default: false. If false then the operation will fail if any of the unzipped files already exists. If true then existing files will be replaced.

The method will never replace existing source files that are marked for online or offline translation. It will fail even with "overwrite=true".

Optional

 

RESULTS

None.





JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.