This one is always empty :(
Wiadomość Oryginalna
Od: Fastream Technologies <[EMAIL PROTECTED]>
Do: ICS support mailing
Data: Fri, 9 Dec 2005 09:25:18 +0200
Temat: Re: [twsocket] File download
> Use Client->LastResponse.
>
> Regards,
>
> SZ
>
> - Original Message -
> From: "
Use Client->LastResponse.
Regards,
SZ
- Original Message -
From: "Me" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Friday, December 09, 2005 8:37 AM
Subject: Re: [twsocket] File download
Ok. But... i really have no idea how do i get a header... in
OnHeader events there is
Ok. But... i really have no idea how do i get a header... in
OnHeader events there is no such a variable as Data or Buffer or
any... Searched the google but found nothing... how do i get header
data into stream/string so i could parse it?
Wiadomość Oryginalna
Od: Fastream Technolo
On 03-Dec-05 12:56:55 Fastream Technologies wrote:
>Hello,
>Does THttpCli support chunked encoding? If so, how do we indicate we can
>accept it from server?
The history say that it is introduced on December 28, 2003.
Looking on the code it seems that there is no way to automatically
add the tran
You need to parse the header on OnHeaderEnd. First store it in a class
variable in OnHeaderData. Notice that this event is called each time a
header line comes.
Regards,
SZ
- Original Message -
From: "Me" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Thursday, December 08, 2005
oh... and one more... there can be a script (like in most forums)
that is called download.php?id=xx where url gives nothing about
filename to save.
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our websi
Wiadomość Oryginalna
Od: Francois PIETTE <[EMAIL PROTECTED]>
Do: ICS support mailing
Data: Thu, 8 Dec 2005 20:31:48 +0100
Temat: Re: [twsocket] File download
> >> Something like (just typing out of my head, not tested):
> >>
> >> HttpCli1.URL := 'http://www.overbyte.be';
> >> HttpCli1.
>> Something like (just typing out of my head, not tested):
>>
>> HttpCli1.URL := 'http://www.overbyte.be';
>> HttpCli1.RcvdStream := TFileStream.Create('overbyte.html',
> fmCreate);
>> HttpCli1.Get;
>> HttpCli1.RcvdStream.Free;
>> HttpCli1.RcvdStream := nil;
>>
>
> Sounds cool but... if the file i
Wiadomość Oryginalna
Od: Francois Piette <[EMAIL PROTECTED]>
Do: ICS support mailing
Data: Thu, 8 Dec 2005 10:36:25 +0100
Temat: Re: [twsocket] File download
> > Hmm... How do i download a file and save it on disk? Got the
> > RcvdStream and... what? How do i save it to file? I thought
Thanks.
What a waste of six hours :(
The test app worked just fine, so I just spent about six hours playing
with my app, changing this and changing that and comparing all the
properties between the ftp component in my and your apps, and it still
didn't work.
In the end I created a new app to s
> Hmm... How do i download a file and save it on disk? Got the
> RcvdStream and... what? How do i save it to file? I thought that
> stream.savetofile would work but there is no such a thing...
Just assign a TFileStream to RcvdStream and you have a file. That's the beauty
of TStream and
derived cl
I don't see anything obviously wrong in your code.
I suggest you add an OnDisplay event handler to display messages from the
component into a memo to
better see what happend. Also, have a try with FtpTst sample program delivered
with ICS to see if it
is able to create the file or not.
--
Contrib
Hello Ionut,
Can you tell which component, which buffer etc ?
If you mean TWSocket and also means the receive buffer then the answer
is: just read them and do nothing with it.
---
Rgds, Wilfried [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
http://www.mestdagh.biz
Wednesday, Decembe
13 matches
Mail list logo