Downloading large files from cloud storage using command-line tools

I’m trying to get a big file from cloud storage using command-line tools. I can download small files fine, but I’m stuck with larger ones.

Here’s what works for small files:

fetch_file --url "https://cloudstore.com/get?file=smallfile123" --output small_file.tar.gz

But when I try the same for a big file:

fetch_file --url "https://cloudstore.com/get?file=bigfile456" --output big_file.tar.gz

It keeps asking me if I want to skip the virus check. How can I bypass this and download the file directly?

I noticed the download page has something like &verify=XYZ1 in the URL. Is there a way to use this or something similar in my command to skip the extra step?

Any help would be great. I need to automate this for a bunch of files.

Have you considered using a tool like ‘curl’ for this task? It’s quite versatile for handling large file downloads. Here’s a command that might work:

curl -o big_file.tar.gz -L ‘https://cloudstore.com/get?file=bigfile456&verify=XYZ1

The ‘-o’ flag specifies the output file name, and ‘-L’ follows redirects if needed. Including the ‘verify’ parameter in the URL, as you noticed, can often bypass additional checks.

If you’re dealing with multiple files, you could create a simple shell script to loop through a list of file IDs and download them sequentially. This approach has worked well in my experience with automating large cloud storage downloads.

I’ve dealt with similar issues when downloading large files from cloud storage. Here is an approach that worked for me:

Try using the ‘–no-check-certificate’ flag with your fetch_file command. This flag can help bypass extra security prompts, for instance:

fetch_file --no-check-certificate --url “https://cloudstore.com/get?file=bigfile456” --output big_file.tar.gz

If that fails, using a different tool like wget might be beneficial:

wget --no-check-certificate “https://cloudstore.com/get?file=bigfile456” -O big_file.tar.gz

Regarding the verify parameter, appending it directly to your URL as in “&verify=XYZ1” could work. Replace ‘XYZ1’ with the actual code shown on the download page. Hope this helps with your automation process.

yo liam, try adding ‘–skip-virus-check’ to ur command. like this:

fetch_file --skip-virus-check --url “https://cloudstore.com/get?file=bigfile456” --output big_file.tar.gz

if that dont work, u could try adding the verify param to the url:

fetch_file --url “https://cloudstore.com/get?file=bigfile456&verify=XYZ1” --output big_file.tar.gz

hope this helps bro