🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.pascal
Article #92539

Re: [Lazarus][OT] TCurl niestety jeszcze nie naprawiony :(

#92539
From: Terrmit
Date: Sun, 06 Apr 2008 18:40
21 lines
2126 bytes
Łukasz 'Maly' Ostrowski pisze:
[ciach]
> 
> Nie wyglada to dość skomplikowanie:
> 
> http://curlpas.sourceforge.net/demo/testmpf2.pas.html
> 
> I teraz metoda Kopiego i Pasta przerzuć to do siebie.
> ;-)
> 
Ależ ja dokładnie taką metodę stosuję z tym, że mnie
interesuje tylko
   MyCurl.FormData.Add( 'whodunit',  'testclient', '',
       POST_TYPE_PLAIN ); // send a string as contents
do przesyłania danych formularzy (teksty z editów i memo)
oraz
   MyCurl.FormData.Add( 'filethis',  'sendme.jpg', 'image/jpeg',
       POST_TYPE_ATTACHMENT );  // send the file itself
pliki jpeg i gif z tym, że dla gifa daję 'image/gif'.

Niby proste, a curl się wywala :(
Technical Details
Message-ID: <ftb5rt$sqp$1@nemesis.news.neostrada.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!newsfeed.tpinternet.pl!newsfeed.neostrada.pl!nemesis.news.neostrada.pl!atlantis.news.neostrada.pl!news.neostrada.pl!news.tpi.pl!not-for-mail
References: <fssr03$k01$1@atlantis.news.neostrada.pl> <fst2ug$gd3$1@nemesis.news.neostrada.pl> <fstdsc$lcb$1@atlantis.news.neostrada.pl> <ft0tt2$lih$1@atlantis.news.neostrada.pl> <ft1pbr$j$1@atlantis.news.neostrada.pl> <ft2rdj$h4m$1@atlantis.news.neostrada.pl> <ft2ren$h4m$2@atlantis.news.neostrada.pl> <ft2rss$p5g$1@news.dialog.net.pl> <ft4in8$mu0$1@atlantis.news.neostrada.pl> <ft5gmq$c5f$1@news.dialog.net.pl> <ft627f$s2s$1@atlantis.news.neostrada.pl> <ftargs$cn7$1@atlantis.news.neostrada.pl> <ftb453$s32$1@news.dialog.net.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!newsfeed.tpinternet.pl!newsfeed.neostrada.pl!nemesis.news.neostrada.pl!atlantis.news.neostrada.pl!news.neostrada.pl!news.tpi.pl!not-for-mail
From: Terrmit <terrmitv@poczta.onet.pl>
Newsgroups: pl.comp.lang.pascal
Subject: Re: [Lazarus][OT] TCurl niestety jeszcze nie naprawiony :(
Date: Sun, 06 Apr 2008 20:40:44 +0200
Organization: TP - http://www.tp.pl/
Lines: 21
Message-ID: <ftb5rt$sqp$1@nemesis.news.neostrada.pl>
References: <fssr03$k01$1@atlantis.news.neostrada.pl> <fst2ug$gd3$1@nemesis.news.neostrada.pl> <fstdsc$lcb$1@atlantis.news.neostrada.pl> <ft0tt2$lih$1@atlantis.news.neostrada.pl> <ft1pbr$j$1@atlantis.news.neostrada.pl> <ft2rdj$h4m$1@atlantis.news.neostrada.pl> <ft2ren$h4m$2@atlantis.news.neostrada.pl> <ft2rss$p5g$1@news.dialog.net.pl> <ft4in8$mu0$1@atlantis.news.neostrada.pl> <ft5gmq$c5f$1@news.dialog.net.pl> <ft627f$s2s$1@atlantis.news.neostrada.pl> <ftargs$cn7$1@atlantis.news.neostrada.pl> <ftb453$s32$1@news.dialog.net.pl>
NNTP-Posting-Host: fge166.internetdsl.tpnet.pl
Mime-Version: 1.0
X-Trace: nemesis.news.neostrada.pl 1207507645 29529 83.13.160.166 (6 Apr 2008 18:47:25 GMT)
X-Complaints-To: usenet@tpi.pl
NNTP-Posting-Date: Sun, 6 Apr 2008 18:47:25 +0000 (UTC)
User-Agent: Thunderbird 2.0.0.12 (X11/20080226)
In-Reply-To: <ftb453$s32$1@news.dialog.net.pl>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit