On 9/13/05, Andrew Piskorski <[EMAIL PROTECTED]> wrote: > On Tue, Sep 13, 2005 at 07:52:00AM -0700, Scott Laplante wrote: > > Subject: tcllib configure/install (ftp client) > > > Does anyone have any experience using > > tcllib1.7(http://tcllib.sourceforge.net/) with AOLServer3.4 (yeah, yeah, i > > know)? we're having problems getting aolserver to recognize the package. <snip> > Finally, occasionally you might need to fetch or send stuff via an SSL > https connection AFTER logging into a website and setting cookies > appropriately in your browser. This is also possible to automate, but > I'm not aware of any packaged tool which does so. AFAIK neither Curl > nor wget support that; I tried them both at the time. I once hacked > together some code to let AOLserver login as a client to other > websites (using some cookie handling code borrowed from tclwebtest): >
I use curl to get files from https site with login. You dump the cookies to a file on the first call where you log in, and get the file in the second. Probably not the easiest but it does work. /usr/bin/curl --insecure --dump-header /tmp/foobar filename; fails to get file, but does log in /usr/bin/curl --insecure --cookie /tmp/foobar --fail --remote-name filename; gets the file You can probably get rid of --insecure if you install a certificate or something. > http://openacs.org/forums/message-view?message_id=278108 > > -- > Andrew Piskorski <[EMAIL PROTECTED]> > http://www.piskorski.com/ > > > -- > AOLserver - http://www.aolserver.com/ > > To Remove yourself from this list, simply send an email to <[EMAIL > PROTECTED]> with the > body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: > field of your email blank. > -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.
