Francois PIETTE wrote:
>> where can I find an example for uploading a file to a webserver using
>> httpCli ?
> 
> That is no different than posting anything else. Pay attention to the
> data format. Most scripts expect MIME multi-part format. 

New TMultiPartFileReader from IcsSteams.pas may be helpfull creating
the stream.

--
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html

 

> You'll find
> sample by searching the mailing list archive.
> 
>> I also want to measure the time needed to upload the file.
>> What is the best place to start and stop timing ?
>> OnHeaderRequestEnd ?
> 
> OnRequestDone.
> 
> --
> Contribute to the SSL Effort. Visit
> http://www.overbyte.be/eng/ssl.html --
> [EMAIL PROTECTED]
> http://www.overbyte.be
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to