Page 1 of 1

[RESOLVED] FlashGot -> remote wget connector

Posted: Thu Dec 11, 2014 3:13 pm
by cyruz
Good morning Giorgio,

I'm writing a small tool in ahk to integrate FlashGot with wget on a remote linux machine.

Basically it just copies the cookie file through scp and send the wget commandline through ssh. I have no problem when downloading normal files, but when I'm logged in a private site, I receive an authentication failure. The cookie file is correctly imported to the remote system and also the wget command line looks correct...

I'm using this template that works just fine with a windows wget installed locally, so there should be something I miss...:
--continue [--output-document=FNAME] [--referer=REFERER] [--post-data=POST] [--load-cookies=CFILE] [--header=Cookie:COOKIE] [--user-agent=UA] [URL]

Any idea?

Thank for your time!

Re: FlashGot -> remote wget connector

Posted: Sat Dec 13, 2014 2:59 pm
by cyruz
Fixed. It was a problem of quotes. I added quotes to all the parameters but the URL. Maybe wget has some problem processing the URL, because as soon as I put the quotes to the URL it started working...