ois Piette <[EMAIL PROTECTED]>
Do: ICS support mailing
Data: Fri, 9 Dec 2005 11:39:25 +0100
Temat: Re: [twsocket] File download
> > Damn... its not working with .zip files... those are Headers
sent by
> > me, and i need headers recived in response :/ I know i wrote it
> > wor
> Damn... its not working with .zip files... those are Headers sent by
> me, and i need headers recived in response :/ I know i wrote it
> worked before but it wasnt... it only worked with .txt or .html
> file... any further help?
You should look at the header line is sent by the server in respons
To: "ICS support mailing"
Sent: Friday, December 09, 2005 12:29 PM
Subject: Re: [twsocket] File download
Damn... its not working with .zip files... those are Headers sent by
me, and i need headers recived in response :/ I know i wrote it
worked before but it wasnt... it only worked with
AIL PROTECTED]>
Do: ICS support mailing
Data: Fri, 9 Dec 2005 11:21:12 +0200
Temat: Re: [twsocket] File download
> Sorry that was for response header. Here is the code I use:
>
> void __fastcall httpServerClientClass::
HTTPClientBeforeHeaderSend(TOb
I dont really know C++ (programming in Delphi) but thanx for your
help "Fastream Technologies"! Managed to make it work in delphi
based on your code.
Thanks to your help, I discovered something interesting, and if
anyone would have similar problem (with downloading files from
forums keeping th
ailing"
Sent: Friday, December 09, 2005 9:51 AM
Subject: Re: [twsocket] File download
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 down
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
>
> -
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
Technologies <[EMAIL PROTECTED]>
Do: ICS support mailing
Data: Thu, 8 Dec 2005 22:07:15 +0200
Temat: Re: [twsocket] File download
> 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
> he
ent: Thursday, December 08, 2005 8:42 PM
Subject: Re: [twsocket] File download
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 s
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 := '
>> 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
> 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
Try to create a TFileStream and assign it to RcvdStream ...
On Wed, Dec 07, 2005 at 09:39:54PM +0100, Me wrote:
> 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
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...
Ann
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/ma
17 matches
Mail list logo