Trunk User GuideTrunk User Guide ResourcesHow do I upload and unpack a zip file to a Resource folder?

How do I upload and unpack a zip file to a Resource folder?

There are 2 methods for uploading a zip file to Resources and unpacking the zip file into its component files.

Method 1: Upload the zip file to a Resource folder using the drag-and-drop functionality. This method automatically unpacks the zip file into its component files and removes the original zip file.

Method 2: Upload the zip file to a Resource folder using the upload file functionality, then use the Actions / Expand Zip Archive functionality to unpack the zip file into its component files.  This method also removes the original zip file.

Go to Resources.

Go to Resources.

Select the Resources tool from the Tool Menu of your site.

Method 1: To the right of the folder you want to drag-and-drop the zip file, click Add /Upload file.

Method 1: To the right of the folder you want to drag-and-drop the zip file, click Add /Upload file.

This displays the upload Files page.

Drag the zip file from your computer and drop it in box marked "Drop files here to upload".

Drag the zip file from your computer and drop it in box marked "Drop files here to upload".

This will display a thumbnail of the zip file that will be uploaded.

Example:

Example:

The zip file is automatically unpacked in the selected folder.

The zip file is automatically unpacked in the selected folder.

Note:  A new folder is created using the name of the zip file.  The zip file is unpacked in this new folder and the original zip file is removed.

Method 2: To the right of the folder you want to upload the zip file, click Add /Upload file.

Method 2: To the right of the folder you want to upload the zip file, click Add /Upload file.

This displays the Upload Files page.

Click Browse, select the zip file on your computer and click Open.

Click Browse, select the zip file on your computer and click Open.

This returns the display to the Upload Files page with the selected file name to the right of the Browse button.

To upload the zip file, click Upload Files Now.

To upload the zip file, click Upload Files Now.

The zip file is uploaded to the selected folder.

To unpack the zip file, click Actions / Expand Zip Archive.

To unpack the zip file, click Actions / Expand Zip Archive.

This automatically unpacks the zip file.

The zip file is automatically unpacked in the selected folder.

The zip file is automatically unpacked in the selected folder.

Note:  A new subfolder is created using the name of the zip file.  The zip file is unpacked in this new folder and the original zip file remains.