Hello Engi, You can almost always use the HEAD command and then parse the OnHeaderData event. Sometimes -rarely- you need to run the GET command and abort at OnDocBegin after you parse OnHeaderData as some servers do not support HEAD. In fact, in IIS, you can customize this behavior per script/application pool wise.
Regards, SZ www.fastream.com ----- Original Message ----- From: "Engi" <[EMAIL PROTECTED]> To: "'ICS support mailing'" <email@example.com> Sent: Monday, August 06, 2007 6:06 PM Subject: [twsocket] File size > Hi, > > I'm ising THttpCli component to download a file. > Before I call the Get method, is there a solution to know the file size ? > > TIA, > Engi > > -- > 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