Parallel File Uploads for Large Files
Make better use of high-bandwidth connections.
A single connection may not make full use of a fast server uplink. FileFlap’s CLI splits large files into multipart chunks and transfers a batch of chunks concurrently, then finalizes the original file. This can improve throughput without requiring GNU parallel.
10 GB
Free collection
Up to 8
Parallel CLI chunks
Bash + curl
No Python required
How it works
Choose a large test file
Pick a file large enough to contain multiple parts. Files of 20 MiB or larger use multipart automatically with the default script settings.
Start with four connections
Copy the current CLI script from your collection admin page. Four simultaneous multipart chunks is the default.
Compare one, four and eight
Benchmark the same file under similar network conditions. Use separate test collections or delete previous test uploads to stay within the storage allowance.
Verify the result
Check the final upload in the admin page. For important deliveries, compare the SHA-256 checksum of the downloaded file with the source.
Example terminal commands
First save the collection-specific script from your admin page. Replace the example paths with your own files or folders.
Sequential baseline
PARALLEL_PARTS=1 FILE="/data/video.mov" bash fileflap-upload.shDefault parallel transfer
PARALLEL_PARTS=4 FILE="/data/video.mov" bash fileflap-upload.shHigh-bandwidth test
PARALLEL_PARTS=8 FILE="/data/video.mov" bash fileflap-upload.shParallel chunks are not parallel files
The CLI uploads up to eight chunks of one multipart file at once. When a folder is selected, the files themselves are processed sequentially. Small direct uploads do not gain multiple connections from this setting.
Choose concurrency based on real throughput
More connections do not guarantee a proportional speed increase. Available bandwidth, disk read speed, latency, part size and server overhead all matter. Batches wait for their outstanding transfers before moving to the next batch.
Allow room for temporary chunks
The Bash script writes one batch of chunks to temporary storage. Larger backend-selected part sizes and higher concurrency need more scratch space. Set TMPDIR to a suitable writable disk if necessary. The script removes its temporary chunks during normal cleanup.
Choose your collection size
CLI uploads are available on free and paid plans. Choose enough capacity for all files in your collection; existing plan limits still apply.
Frequently asked questions
How many parallel connections can I use?
The CLI supports PARALLEL_PARTS values from 1 to 8, with 4 as the default.
Will eight connections make my upload eight times faster?
Not necessarily. Test different settings to find the best throughput for your network and storage.
Can I upload several independent files simultaneously?
The current CLI processes files sequentially, while multipart chunks within a large file transfer in parallel. Browser uploads have their own concurrency behavior.
Does multipart upload change the file quality?
No. Multipart upload transfers the original bytes in chunks and combines them into the original file; it does not transcode or compress the content.
Ready to send your files?
Create a collection, get your CLI script and share your delivery when it is ready.
Start a transfer