Upload files
Pick your method by size. A browser upload cannot resume, so an interruption means starting over; the CLI and the Transfer Manager both pick up where they left off.
Choose a method
Size decides this, not preference:
The browser switches transfer modes on its own at roughly 80 MB per file, using a simple upload below that and a chunked one above it. Since that happens without you, the decision left to you is whether to use the browser at all, and that turns on resumability rather than speed.
Upload through the browser
Where you upload from decides where the file lands.
From the Files tab, select My Library and use Add File → Upload from My Computer. This is My Library's only add path, since My Jobs is written by the platform.
From job setup, the Inputs step offers Upload From This Computer for a local file and Add From Cloud Storage for something Rescale already holds.
To upload a directory, select the folder rather than its contents, which also keeps it to one attachment against the 1,000-file limit.
When an upload becomes a job input
Storing the file and attaching it to the job are separate steps:
- Uploading a file on the job-setup page stores it immediately, as an input file in your library.
- It isn't associated with the job until you save the job.
So abandoning a job setup leaves the uploaded files behind, stored and billed, with no job using them. Check your library after abandoning a setup.
Input files attach to the first software tile configured on the job. If you add files before adding any software, they attach to whichever tile you add first, which on a multi-software job may not be the one you meant.
Upload with the CLI
rescale-cli upload -f file1.dat file2.dat
Files land in the root of your file space. The CLI handles chunking, retries and parallelism, which is why it's the right tool above a few gigabytes and the only sensible one inside a script. See the CLI reference for the reporting and metadata flags.
To upload into a CFS library instead of Rescale Files, add --copy-to-cfs. It takes one file per invocation.
Archives are unpacked for you
Upload a compressed archive as a job input and Rescale extracts it when the job starts. Supported: .tar.gz, .tar.bz2, .tar, .gz, .bz2, .tgz, .zip, .7z, .7zip.
Compressing before upload is usually worth it. It cuts transfer time, and it collapses a directory of thousands of files into one attachment, which matters most above about 10 GB.
Filename and path limits
These apply regardless of which method you use:
A file whose name and path together exceed 200 bytes cannot be saved. On job output that means results are lost without an error you'll notice, so keep generated paths short in deeply nested multi-run jobs.
Windows users hitting the separate 260-character limit when downloading should see Transfer Manager troubleshooting.
Troubleshooting
Most upload problems are one of these:
- The browser stalls or fails quietly. Try another browser, disable upload-blocking extensions, and check your corporate proxy. See troubleshooting browser upload issues.
- Many files or folders at once. Drag-and-drop works, but the CLI is faster and more reliable at scale. See uploading folders and multiple files.
- The upload is refused outright. That may be an enforced cap rather than a fault: see limits and policies.
Related
- Download files — getting data back out
- Reuse files across jobs — attaching stored data instead of uploading again
- Browse your files — where uploads land
- Rescale CLI — scripted and resumable transfers
- Limits and policies — the caps your workspace enforces