Find answers, guides, and tutorials to supercharge your content delivery.

Upload Data to a Push Zone

Updated on June 28, 2019

There are a couple of ways to upload data to a KeyCDN Push Zone. This guide walks through how to upload data both via FTPS and rsync over SSH to our CDN storage cloud.

Note: Push Zones are limited to 250,000 inodes (files and directories) and don’t allow files larger than 5 GB.

How to upload Files with FTP/FTPS

  1. If you just created a new Push Zone, you need to wait a few minutes until your Zone is ready.
  2. Add a new Subuser and assign the desired Push Zone.
  3. Connect to the FTP server:
    • Hostname:
    • Port: 21
    • Username: “Subuser username”
    • Password: “Subuser password”
  4. Each Zone has its own folder with the same name. Copy the data to the according folder.
  5. Newly uploaded content is instantly available from the CDN.

We recommend to use FTPS (explicit FTP over TLS) to avoid plaintext transfer of your credentials over the network and use an FTP client such as FileZilla.

FileZilla FTPS settings

The fingerprint for corresponds to:

SHA256: c5:ef:8c:cb:7c:15:20:d4:b0:12:c7:d5:21:75:7f:e8:cf:9f:d9:fb:4c:4d:61:20:96:2c:b2:37:dc:65:ba:c3

Note: If you’re using an FTP program and want to transfer your files over FTPS, you’ll need to ensure they’re being transferred over TLS v1.2.

How to upload Files with rsync over SSH

If you are interested in lsyncd read this article as well: lsyncd over SSH.

  1. Upload ssh public key (ssh-rsa or ssh-ed25519) through the KeyCDN dashboard (Account-Settings > Authentication). It takes a few minutes until the key is distributed on the responsible servers.
  2. Make sure that you added your private key on your system before running rsync (command: ssh-add /path/to/your/private.key).
  3. Upload / synchronise your Zone using the following command:

    rsync -rtvz --chmod=D2755,F644 <path_to_your_local_folder>/ <KeyCDN username (from dashboard)><zone name>/

    Example (sync data):

    rsync -rtvz --chmod=D2755,F644 local_folder/

Note that we limit the rsync flags you can use. Some older versions behave differently in regards to what flags they use for common operations so make sure you are using at least 3.0.0.

In addition to the above you might find the following flags useful:

  • --delete (delete extraneous files from destination directories - we also allow the other --delete flags)
  • --delete-excluded (also delete excluded files from destination directories - to be used with the --exclude options)
  • -n (perform a trial run with no changes made)

If you want to list the files of your Zone use a command like this:

rsync --list-only <KeyCDN username (from dashboard)><zone name>/

Example (list directory):

rsync --list-only

For verification purposes, the SSH fingerprint for corresponds to:


How Data Gets Deployed via a Push Zone

Now that your data is uploaded to the Push Zone storage cluster, there are a few things to consider when it comes to deploying this data.

  • New content is uploaded instantly to the storage cluster.
  • If a change is made to an existing file, it takes approximately 15 minutes for that file to be updated (also seen as revalidated in the logs).
  • If a file is deleted from the storage cluster, it takes up to 30 minutes for that file to be removed from the edge servers.
  • It is not possible to purge the push content manually.
  • Although your content has been uploaded to the storage cluster, data is only deployed to an edge server location if it has been requested.
KeyCDN uses cookies to make its website easier to use. Learn more about cookies.