[ale] OT: perl https download script?

James P. Kinney III jkinney at localnetsolutions.com
Wed Jul 25 22:16:31 EDT 2007


On Wed, 2007-07-25 at 19:31 -0400, Robert L. Harris wrote:
> 
> Nope, wget, even specifying --user and --pass says "you must be logged
> in"...

Hmm. Did you try tinkering with using --keep-session-cookies ?

Alternative: Login manually using the browser and then run wget with the
--load-cookies option pointed to your cookies.txt file.
> 
> Thus spake David Tomaschik (ozone at webgroup.org):
> 
> > Must it be perl?  Seems wget would be perfect for the situation.
> > 
> > Robert L. Harris wrote:
> > > Anyone have a script along these lines:
> > >
> > >   Log into https server with username/passwd
> > >   Read a page
> > >   Based on that page, download a file from that same site?
> > >
> > > I'm good at perl, but horrible with https/passwd, etc.  I could even do
> > > with python or something if someone has a well documented example but I
> > > haven't learned python, etc yet.
> > >
> > > Robert
> > >
> > >
> > > :wq!
> > > ---------------------------------------------------------------------------
> > > Robert L. Harris                     | GPG Key ID: E344DA3B
> > >                                          @ x-hkp://pgp.mit.edu
> > > DISCLAIMER:
> > >       These are MY OPINIONS             With Dreams To Be A King,
> > >        ALONE.  I speak for              First One Should Be A Man
> > >        no-one else.                       - Manowar
> > >
> > >   
> > > ------------------------------------------------------------------------
> > >
> > > _______________________________________________
> > > Ale mailing list
> > > Ale at ale.org
> > > http://www.ale.org/mailman/listinfo/ale
> > 
> > 
> > -- 
> > David Tomaschik
> > Moderator, LinuxQuestions.org
> > http://matir.wordpress.com
> > 
> > _______________________________________________
> > Ale mailing list
> > Ale at ale.org
> > http://www.ale.org/mailman/listinfo/ale
> 
> :wq!
> ---------------------------------------------------------------------------
> Robert L. Harris                     | GPG Key ID: E344DA3B
>                                          @ x-hkp://pgp.mit.edu
> DISCLAIMER:
>       These are MY OPINIONS             With Dreams To Be A King,
>        ALONE.  I speak for              First One Should Be A Man
>        no-one else.                       - Manowar
> 
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
-- 
James P. Kinney III          
CEO & Director of Engineering 
Local Net Solutions,LLC        
770-493-8244                    
http://www.localnetsolutions.com

GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics)
<jkinney at localnetsolutions.com>
Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part




More information about the Ale mailing list