Using this command:

curl example.com?huge_file=[1-1000] -o file#1.zip --parallel

Will work fine. But, let's say the server is unstable, and some files do
not download. I could now write a cmd.exe script to check if the file
exists and then download one by one. Or create a huge line with all missing
files and then use the --parallel

Why not just create a single command "--ignore-if-file-exists"

curl example.com?huge_file=[1-1000] -o file#1.zip --parallel
--ignore-if-file-exists

So I just run this line as many times as I want until I download all files?
Does this kind of command exist? Is there a way to do this using only a
curl command or do I need to use another logic?
-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-users
Etiquette:   https://curl.se/mail/etiquette.html

Reply via email to