File copied between URLs
What this tool does
This tool allows you to move a digital file from one location on the internet to another. It is designed to help you transfer data between different web addresses or storage locations. You can use it when you need to copy a document, image, or any other file type that is accessible via a web link.
When to use it
- Moving a PDF report from a public webpage to a secure cloud storage account.
- Backing up a file from a primary server location to an alternative storage bucket.
- Distributing a shared file by copying it to a new location for team access.
What to expect
You will receive a simple text result indicating how large the copied file was, measured in bytes. This number tells you the size of the data that was successfully transferred.
Limitations
- The source file must be publicly accessible or require specific credentials provided in the destination address.
- Very large files might take longer to process or could time out if the connection is slow.
- The destination location must allow write operations; otherwise, the copy will not happen.
When it fails
- The source link is broken, unreachable, or does not contain a valid file.
- You do not have permission to write to the destination location.
- The network connection failed during the transfer process.
Good to know
- Ensure the destination address includes any necessary access keys or passwords if required.
- The returned size is in bytes, so you can divide by 1,000 or 1,024 to get a more familiar size like kilobytes.
Input data
| Parameter | Required | Example | Description |
|---|---|---|---|
source | Yes | http://www.pdf995.com/samples/pdf.pdf | The full web address of the file to copy. Example: 'http://example.com/data.pdf'. |
destination | Yes | s3://ACCESSKEY:[email protected]/BUCKET_NAME/sample.pdf | The full web address where the file should be saved. For S3, include authentication details. Example: 's3://ACCESSKEY:SECRETKEY@bucket-name/file.pdf'. |
Output data
| Field | Description |
|---|---|
result | The number of bytes successfully copied. Example: '1024'. Returns empty if the copy failed. |