URL length limit when using download_zip_url


1 comment

  • Official comment
    Akshay Joshi

    Hi there,

    By default, our public_id limit is 255 characters.

    If you want to download many or all images from your Cloudinary account there are several ways to do this, depending on your requirements, the size of your account, and whether you are able to use our SDK or API to perform the operations:

    1. If you're already using our SDK or API or if the account is very large, you can use our Admin API or Search API to list all resources in your account. The list will include the URL for accessing or downloading the original assets, which you can do using any HTTP library or downloading tool, or can use to upload the file to another service or storage bucket.
    2. Our command line interface tool can be used to perform the same operation with the 'sync' command. The sync command can use the search API to list all files, then download them to your computer or server: https://cloudinary.com/documentation/cloudinary_cli#sync
    3. On any paid Cloudinary account you can choose to store backups of the files in your Cloudinary account in an Amazon S3 or Google Cloud Storage bucket - the naming structure of the backup is different from how you see the files in Media Library, but this is a fast way to get a copy of all files if you can't use one of the above methods: https://cloudinary.com/documentation/backups_and_version_management#using_your_own_backup_storage
    4. You can use our API to create a ZIP file containing up to 1000 assets, with a maximum size of 100 MB or your account's 'raw' file size limit (whichever is larger): https://cloudinary.com/documentation/image_upload_api_reference#generate_archive_method
    5. If none of those other options are suitable, you can select the files or folders that you want to download using our Media Library and click "Download" which will add them to a ZIP file and download it to your computer. This is subject to the same restrictions as above, a maximum of 1000 files in each ZIP and each ZIP must be below (the larger of) 100 MB or the 'raw' file size limit of your account: https://cloudinary.com/documentation/dam_folders_collections_sharing#download_folders

    Please let me know if you're able to list or download all of your files, and if there's anything else I can help with



    Comment actions Permalink

Please sign in to leave a comment.