cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Problem with imagevenue.com

From: Rudolf Martin <rudolf.martin_at_gmx.de>
Date: Fri, 6 Apr 2007 11:28:45 +0200

Hi,
when invoking

curl -# -A 'Mozilla/4.05 [en] (X11; U; Linux 2.0.32 i586)' -F
"userfile%5B%5D=@33.jpg;filename=33.jpg;type=image/jpg" -F
"userfile%5B%5D=;filename=" -F "userfile%5B%5D=;filename=" -F
"userfile%5B%5D=;filename=" -F "userfile%5B%5D=;filename=" -F
"imgcontent=safe" -F "MAX_FILE_SIZE=%20" -F "action=1" -F "img_resize="
"http://imagevenue.com/upload.php" -o tmp_file

I got following logfile with Livehttpheaders:

---- begin quoting

#request# POST http://www.imagevenue.com/upload.php
POST /upload.php -----------------------------2029966552437485225851641202
 Content-Disposition: form-data; name="userfile[]"; filename="33.jpg"
 Content-Type: image/jpeg
<SNIP>
#request# GET http://img171.imagevenue.com/loc174/th_53607_33_122_174lo.jpg
GET /loc174/th_53607_33_122_174lo.jpg
#request# GET http://www.imagevenue.com/upload.php
#request# GET http://sb.google.com/safebrowsing/update?client=navclient-auto-ffox2.0.0.3&mozver=1.8.1.3-2007031001&version=goog-white-domain:1:19,goog-white-url:1:371,goog-black-url:1:9696,goog-black-enchash:1:21998
GET /safebrowsing/update?client=navclient-auto-ffox2.0.0.3&mozver=1.8.1.3-2007031001&version=goog-white-domain:1:19,goog-white-url:1:371,goog-black-url:1:9696,goog-black-enchash:1:21998

---- end quoting

How can I save the first request after POST /upload.php? It includes the
link to http://img171....

My tmp_file contains the second request (without link):
GET http:://www.imagevenue.com/upload.php

Thank you.

Rudolf

-- 
Linux, the choice           |  
of a GNU generation   -o)   | 
Kernel 2.6.17          /\   |
on a AMD Athlon       _\_v  |      
Received on 2007-04-06