🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#92540
From: Terrmit
Date: Sun, 06 Apr 2008 18:52
32 lines
2489 bytes
Terrmit pisze:
> Ł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 :(
Dostaję
Project raised exception class 'External: SIGSEGV'.
Execution paused
   Adress: $0017112B
   Procedure: strlen
   File:

jak pominę wysyłanie pliku, to reszta idzie na serwer
i błędu nie ma, czyli tylko przy przesyłaniu grafiki
na serwer program się wywala.
Technical Details
Message-ID: <ftb67i$dr1$1@atlantis.news.neostrada.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!wsisiz.edu.pl!newsfeed.tpinternet.pl!newsfeed.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> <ftb5rt$sqp$1@nemesis.news.neostrada.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!wsisiz.edu.pl!newsfeed.tpinternet.pl!newsfeed.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:52:18 +0200
Organization: TP - http://www.tp.pl/
Lines: 32
Message-ID: <ftb67i$dr1$1@atlantis.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> <ftb5rt$sqp$1@nemesis.news.neostrada.pl>
NNTP-Posting-Host: fge166.internetdsl.tpnet.pl
Mime-Version: 1.0
X-Trace: atlantis.news.neostrada.pl 1207508018 14177 83.13.160.166 (6 Apr 2008 18:53:38 GMT)
X-Complaints-To: usenet@tpi.pl
NNTP-Posting-Date: Sun, 6 Apr 2008 18:53:38 +0000 (UTC)
User-Agent: Thunderbird 2.0.0.12 (X11/20080226)
In-Reply-To: <ftb5rt$sqp$1@nemesis.news.neostrada.pl>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit