Hi All,
I am trying to write a script to download the latest
version of Free File Sync.
http://www.fosshub.com/FreeFileSync.html
Problem, it redirects and downloads from FossHub.
Firefox's CliGet plugin tells me this is the wget
command to download:
wget --header='Host: files.fosshub.com' --header='User-Agent:
Mozilla/5.0 (X11; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0'
--header='Accept:
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
--header='Accept-Language: en-US,en;q=0.5' --header='Referer:
http://www.fosshub.com/FreeFileSync.html' --header='Cookie:
__cfduid=df5c4cffdb92958c5fec1d6820562977a1420013499;
__utma=109354002.1937444008.1422666016.1422666016.1423372212.2;
__utmz=109354002.1423372212.2.2.utmcsr=thisisudax.org|utmccn=(referral)|utmcmd=referral|utmcct=/'
--header='Connection: keep-alive'
'http://files.fosshub.com/Protected/expiretime=1424210916;badurl=aHR0cDovL3d3dy5mb3NzaHViLmNvbS9GcmVlRmlsZVN5bmMuaHRtbA==/41affbb904a577f14aeace96bc39786f8840601489dcb8f9e12de18037e1c481/FreeFileSync/FreeFileSync_6.14_Windows_Setup.exe'
-O 'FreeFileSync_6.14_Windows_Setup.exe' -c
How in the dickens do I duplicate that from a script? Cookies and
bad url and all!
Many thanks,
-T
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Computers are like air conditioners.
They malfunction when you open windows
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~