>>> What is the best place to start and stop timing ?
>>> OnHeaderRequestEnd ?
>>
>> OnRequestDone.
>
> onRequestdone to stop the timing,
> but when start the timing?
When you call Post if you want to take connection time in the count, or
OnSessionConnected if you want to start when the server is
I've tested with an example i found in the archives.
'Method not allowed' is returned.
What am I doing wrong ?
Paul
function TBandwidthCheckForm.Upload:boolean;
const
LR= #13#10;
var
Buf : String;
FileToSend : TMemoryStream;
Boundary, FName: string;
begin
result:= true;
FName:= '
Thanks
Paul
- Original Message -
From: "Arno Garrels" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Saturday, March 17, 2007 2:29 PM
Subject: Re: [twsocket] Http file upload
> Francois PIETTE wrote:
>>> where can I find an example for
support mailing"
Sent: Saturday, March 17, 2007 2:04 PM
Subject: Re: [twsocket] Http file upload
>> 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
> forma
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 hel
> 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. You'll find sample by
searching the mailing list archive.
> I also want to measure
where can I find an example for uploading a file to a webserver using httpCli ?
I also want to measure the time needed to upload the file.
What is the best place to start and stop timing ?
OnHeaderRequestEnd ?
Paul
--
To unsubscribe or change your settings for TWSocket mailing list
please goto ht
Does anyone have experience with the file uploading using the HTTPServer? I
have a working server, but cannot seem to get the PostedData event handler
working properly (mime parsing). Is there classes/functions that I can make
use of in mimeutil.pas?
Thanks.
--
To unsubscribe or change your s