Non-secure Rsync usage examples

Here are examples to non-securely view directory lists, uploading, and downloading files.

Each NetStorage access method has an optimized upload domain name. Use <Domain name prefix>.rsync.upload.akamai.com for rsync uploads.

Upload a single file with non-secure Rsync

In this example, a single file is to be uploaded. Here, the <src> variable is included first, to target the file for upload, and the <dest> variable exists as the path in the target storage group.

Command format
rsync <option>  <src> <user@upload_domain_name>::<Username>/<CPCode>/<dest>/
Example command usage
rsync -av /uploads/footage_08-17.mp4 editor@sports.rsync.upload.akamai.com::editor/123456/baseball2017/September/
Note: Ensure that the path included for the destination ends in a trailing slash (“/”). Otherwise the operation will rename the file. In the example above, if the trailing slash was left out, “footage_ 08-17.mp4” would be renamed to “September.”

Download a file with non-secure Rsync

In this example, a single file is targeted for download. Here, the <src> variable represents the path to the target file in the storage group, and the <dest> is included last to specify where on the local system the file is to be downloaded.

Command format
rsync <option>  <src> <user@upload_domain_name>::<Username>/<CPCode>/<src> <dest>
Example command usage
rsync -av editor@sports.rsync.upload.akamai.com::editor/123456/baseball2017/September/footage_08-17.mp4 C:/Downloads/Baseball/

View a directory listing with Secure Rsync

In this example, a single directory is called out to view its contents. Here, a <src> variable is not included because a specific file isn't being moved. The <dest> variable serves to call out the specific directory to be viewed.

Command format
rsync <option> <user@upload_domain_name>::<Username>/<CPCode>/<dest>
Example command usage
rsync -v editor@sports.rsync.upload.akamai.com::editor/123456/baseball2017/