Use Client->LastResponse. Regards,
SZ ----- Original Message ----- From: "Me" <[EMAIL PROTECTED]> To: "ICS support mailing" <twsocket@elists.org> 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 OnHeaderxxxx 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 Technologies <[EMAIL PROTECTED]> Do: ICS support mailing <twsocket@elists.org> 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 > header line comes. > >> Sounds cool but... if the file is being downloaded from forum... >> i wouldlike to recive its name and save under the name given by >> server... any idea how? >> -- 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 -- 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