Batch upload files by pulling from URLs

更新时间:
复制 MD 格式

If your media files are not stored on a local server or device and must be uploaded from a public URL, you can call API operations to pull and upload the files in batches from public URLs.

Prerequisites

Usage notes

  • Files pulled from URLs can only be uploaded to ApsaraVideo VOD storage addresses.

  • The maximum size of a single audio or video file is 5 GB.

  • File extensions are not case-sensitive. If a file has an unsupported extension, the upload fails.

Usage

Integrate a server-side SDK (recommended) or build your own HTTP or HTTPS request, then call the UploadMediaByURL operation to pull media files from a public URL and upload them to ApsaraVideo VOD storage. For more information, see Install a server-side SDK and RPC mechanism.

Note

URL pull uploads are not immediate. After a request is submitted, the upload can take several hours or even days. This method is typically used for offline site migration.

API reference