cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: upload to browser

From: Ralph Mitchell <ralphmitchell_at_gmail.com>
Date: Wed, 23 Feb 2005 08:39:17 -0600

OK, this is a bit of a long shot... There's a tool for examining
headers sent back and forth between Firefox & any given web server.
It's called LiveHTTPHeaders:

     http://livehttpheaders.mozdev.org

It captures *all* the headers, session cookies and all, even stuff
going to secure servers. It also lets you save the stuff it
intercepts.

I don't know how complex it is, but you might be able to turn it into
an automated cookie saving tool. Fix up the curl script to pause
until the cookie gets saved, then login to the site with your browser.
 The session cookie magically appears in a file, curl uses it to
upload the image files, and at some point you refresh (or whatever)
and there are the images.

Ralph

On Wed, 23 Feb 2005 12:19:23 +0100, Magnus Stålnacke <jemamo_at_telia.com> wrote:
> Kjell Ericson wrote:
>
> > On Sun, 20 Feb 2005, Magnus Stålnacke wrote:
> >
> >> I am thinking about making a script to upload images to
> >> a photo-devoloper site
> >> (http://www.order.proprint.se/upload2.php)
> >
> >
> > Not that I don't like solving the problem, but have you mailed
> > ProPrint and asked them about your problem (and whish for a non-cookie
> > solution)?
>
> Well.. i think i have the solution now.
> But i am still lacking the knowledge on how to read
> sessioncookies from mozilla.
>
> >
> > When looking at their website I see that the owner and webmaster is
> > likely to be father and son. It's a small company that might not be
> > unlikely to fullfill wishes.
>
> Yes i have been in some contact with them.
> But i really like to solve this, now it has become about me .
> You know the "rush" one gets.. yes!! it works! thats the solution.
>
> >
> > ps. Nice photos you take. I like them. See ya on fotosidan.
> > se
>
> Kjer or keric?
>
>
> --
> Software is not manufactured, it is something you write and publish.
> Keep Europe free from software patents, we do not want censorship
> by patent law on written works.
>
>
Received on 2005-02-23