Zip Import

Overview

The Zip Import feature allows for a ZIP file to be uploaded into OU Campus. OU Campus will then extract the contents of the ZIP file and upload each individual file (or a subset of those files, if the user desires) into the system. The ZIP extension is required, as opposed to other compressed file extensions such as RAR. Any nested directory structure and the files contained within are kept intact and appropriately unraveled for the import into the OU Campus site. This is a convenient method to upload multiple files into OU Campus.

If a user simply uploads a ZIP file into OU Campus without using the Zip Import feature, OU Campus will not recognize it as a zipped folder and the contents inside will be inaccessible. For this reason, the Zip Import feature is necessary when uploading ZIP files into OU Campus.

By default, Binary Management is enabled, which allows for the management of binary files on the staging server. When importing a ZIP file, images and other binary files (e.g., PDFs, videos, Flash files, etc.) are uploaded to the staging server and must, at some point, be published to the production server. When additional publish targets have been defined, the default production server can be overridden by choosing the publish target in the drop-down before uploading.

Upload Modal

Zip Import Tips

  • The file size limit on a Zip Import file is one gigabyte (1 GB), though files within the ZIP file are still subject to the file size limits set at the site level. For more information about file size limits, visit the Upload Limits page.
  • If files in the ZIP folder do not meet the configured naming convention for the directory, users can rename the files before completing the upload.
  • The Overwrite Existing Files checkbox can be used to overwrite existing images or files in OU Campus with the same name as the newly-uploaded files
  • It may be necessary to use the Ignore Containing Folder checkbox in order to ensure that an extra folder is not created. This depends upon how the ZIP package was created and the existing structure. For example, if individual files are selected and compressed with the built-in Windows utility, there is not a containing folder. If a directory is compressed into a ZIP, the folder is included as the containing folder.

Performing a Zip Import

  1. From Content > Pages, navigate to the correct location within the folder structure and click Upload.
  2. Select an Access Group, if necessary.
  3. For Upload Type, select Import Zip File.

    Upload Modal
  4. Optionally, select Overwrite Existing in order to update existing files.
  5. Click Add Files or drag the ZIP file onto the modal.

    Zip File Added
  6. Click Start Upload.
  7. Review the Zip Import screen and fix any errors if necessary. Choose whether to Ignore Root Folder or Overwrite Existing Files. If Overwrite Existing was activated in the Upload modal, Overwrite Existing Files will be checked on this screen.

    Zip Import Screen
  8. If there are no errors, click Finish Upload.

Fixing Errors

After a ZIP has been added and error messages are displayed, some errors can be corrected and then the import completed. For large ZIP packages, it can be useful to use the Show Only Rows With Errors button in order to consolidate and interpret the results.

  1. Review the files being imported on the Zip Import screen. A file that cannot be imported is indicated with an error icon and a red error message. Errors can include:
    •  A file with a disallowed extension
    •  A file with illegal characters
  2. To correct an error:
    •  A file can be deselected and excluded from the import
    •  A filename can be renamed
    •  A file with an illegal extension cannot have the extension renamed as a work-around for a disallowed extension
    •  The import can be canceled and the ZIP package can be modified on the local computer and re-attempted
  3. When all errors have been dealt with, the Finish Upload button becomes available. 
  4. Select Finish Upload

Zip Import actions are shown on the Recent Saves report as a save type of upload and in this manner the files that were imported can be reviewed.