Uploading files to a CDN

When uploading files to a CDN, the process generally supports a wide range of file types, including but not limited to:

  • Web objects: HTML, CSS, JavaScript.

  • Downloadable objects: PDFs, software packages, multimedia files (mp3, mp4).

  • Media: Images (JPG, PNG, GIF), video files.

  • Applications: Entire web application files.

Note:

  • The file names should be unique to avoid conflicts with existing files on the CDN. If a file exists with the same name, the CDN API will save the new file with a different name (default option) or overwrite the existing file.

  • The CDN API will trim and remove non-ascii characters from the file name to ensure compatibility with all systems (e.g., 我们不一样 - my file.MP3 will be saved as -myfile.MP3).

Last updated

Was this helpful?