


Put the error listing in a file called c:\reports\YY.MM.DD_wget.txt Try 10 times for a successful download (-tries=10)ĭon't check for a certificate (-no-check-certificate)

Into a directory called c:\mydirectory\temp (-directory-prefix=^"c:\mydirectory\temp^") Used Escape charaters (^) used because of the batch fileįind and use the proper filename (-content-disposition) I use a lot of parameters but it always works. This is what I use to get a file available as a linked file from googledrive using a Batch file *******Localización*********** is in spanish language, clear the asterics and let the word in english Location and adapt THE HEAD and the CUT numbers to appropiate approach. i create a bash to export a list of URL from file URLS.text to a URLS_DECODED.txtĪn used in some accelerator like flashget ( i use cygwin to combine windows & linux )Ĭommand spider was introduced to avoid download and get the final link ( directly )Ĭommand GREP HEAD and CUT, process and get the final link, Is based in spanish language, maybe you could be port to ENGLISH LANGUAGEĮcho -e "$URL_TO_DOWNLOAD\r" probably the \r is only cywin and must be replace by a \n (break line)
