[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: wget fails in Debian Jessie



 Hi.

On Sat, 6 Jun 2015 20:31:44 -0700 (PDT)
Leslie Rhorer <lrhorer@mygrande.net> 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:

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


Reply to: