ich habe doch geschrieben das ich den UPLOAD request haben will...ich möchte also per Post-request eine datei bei uploaded.to hochladen.
hab hier mal ein beispiel was ich per wireshark mitgeschnitten hab.
Code:
http://s10b0-cb.uploaded.to/up?upload_id=219709242
POST /up?upload_id=219709242 HTTP/1.1
Host: s10b0-cb.uploaded.to
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3 (de) (TL-FF)
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://www.uploaded.to/
Cookie: lang=de; __utma=28252408.1322315753.1224578475.1225826291.1225897913.11; __utmz=28252408.1225826291.10.3.utmccn=(referral)|utmcsr=board.scene-coderz.com|utmcct=/viewtopic.php|utmcmd=referral; __utmb=28252408; __utmc=28252408
Content-Type: multipart/form-data; boundary=---------------------------265001916915724
Content-Length: 81182
-----------------------------265001916915724
Content-Disposition: form-data; name="uploadcount"
0
-----------------------------265001916915724
Content-Disposition: form-data; name="x"
59
-----------------------------265001916915724
Content-Disposition: form-data; name="y"
21
-----------------------------265001916915724
Content-Disposition: form-data; name="lang"
de
-----------------------------265001916915724
Content-Disposition: form-data; name="file1x"; filename="666Kopie.png"
Content-Type: image/png
PNG
HTTP/1.x 200 OK
Date: Wed, 05 Nov 2008 15:27:05 GMT
Server: Apache/2.0.55 (Ubuntu) mod_python/3.3.1 Python/2.4.3
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html; charset=UTF-8
nur ist das problem dabei das es speziell für png-dateien ist und ich brauche ein allround-request mit dem ich jede beliebige datei hochladen kann.