Re: wget fails in Debian Jessie
On Sunday, June 7, 2015 at 4:00:04 AM UTC-5, Reco wrote:
> > Does anyone have any ideas how I could get curl to handle the task, since wget is failing? Some other utility?
>
> Don't depend on curl. Use good old socat combined with wget:
Why? The -L option in curl did the trick. Is there some over-riding reason why I should use wget instead of curl? Curl windsup being simpler and faster in this case.
>
> socat TCP4-LISTEN:8080,reuseaddr,fork \
> OPENSSL:mytotalconnectcomfort.com:443,verify=0
>
> wget --save-cookies cookies.txt --keep-session-cookies \
> --post-data '...' http://localhost:8080/portal
>
> wget --load-cookies cookies.txt \
> http://localhost:8080/portal/188049/Zones/page2
>
> pkill socat
>
> Reco
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: [🔎] 20150607114955.6b6127e2b50772dff0758e49@gmail.com">https://lists.debian.org/[🔎] 20150607114955.6b6127e2b50772dff0758e49@gmail.com
Reply to: