||Automatic indexing is available for Aspera, Rsync, SCP, SFTP, and
FTP protocols. Apply these steps to enable auto-indexing on your upload account:
- Access the Upload Accounts
entity from the NetStorage UI in Control Center.
- Edit the upload account you want
to apply auto-indexing.
- Navigate to the Advanced Settings
section of the upload account.
- Select Append serve-from-zip
index from the On Zip File Upload
Note: Auto-index will always index
zip files for that upload account. This limits the use of Rsync or Aspera sync to
upload only, as auto-indexing will change MD5 signatures and sizes that prevent the
use of synchronization features. Auto-indexing doesn’t apply to File Manager or the
HTTP Usage API.
||Apply a zip index with FTP by performing these steps:
- Establish an FTP connection to
the applicable NetStorage storage group.
- Issue the
site az2z command from
the FTP terminal.
- Upload the file as necessary.
(Use any other applicable FTP commands).
site az2z command
needs to be re-entered prior to each archive file upload, and the subsequent
upload must be initiated from the same FTP session.
- Additionally, an error will be
generated if the file uploaded is NOT an archive file.
- FTP is an insecure protocol.
Some GUI FTP clients don't support site commands.
||Apply a zip index with CMShell by performing these steps:
- Upload the archive file(s) to
NetStorage using whatever means you prefer. (This can be any of the protocols
covered in this document or even via the FileManager 2.0 tool
available in Control Center.)
- Make note of the complete path to
all uploaded archive files.
- Access CMShell.
- Run the
<archive_file> command for each archive.
- If you unzip an indexed archive
file with a tool that displays comments (for example, the
available for use with CMShell), the table hash is listed among the archive’s
contents, appearing as garbled text.
- Using CMShell adds an extra
step that reads and writes the whole file instead of adding just the index while
|NetStorage Usage API
Use the API's
upload action with the
index-zip=1 option to enable az2z processing. This will index an
uploaded “.zip” archive for the “Serve from Zip” feature. The API allows full
control over whether of not to index zip files without having to switch upload
Additional details on the use of the upload action can be found in the
NetStorage Usage API.