URL File Upload
POST/api/file-url-upload
Download files from URLs and upload them as temporary files. Note: Uploaded files are temporary and automatically deleted after 3 days.
Features
- Supports HTTP and HTTPS file links
- Automatically downloads remote files and uploads them
- Automatically extracts file names from URLs or uses custom file names
- Automatic MIME type recognition
- Returns complete file information and download links
- API Key authentication protection
- Uploaded files are temporary and automatically deleted after 3 days
Supported Protocols
- HTTP:
http://example.com/file.jpg
- HTTPS:
https://example.com/file.jpg
Use Cases
- Migrating files from other services
- Batch downloading and storing web resources
- Backing up remote files
- Caching external resources
Important Notes
- Ensure the provided URL is publicly accessible
- Download timeout is 30 seconds
- Recommended file size limit is 100MB
Request
Responses
- 200
- 400
- 401
- 500
File uploaded successfully
Request parameter error
Unauthorized access
Internal server error