|Subject:||Re: Content length|
|Posted by:||Remy Lebeau (TeamB) (gambit…@yahoo.com)|
|Date:||Mon, 28 Jul 2003|
"Constantine Hvan" <darkjudicat…@mail.ru> wrote in message
> But some of servers does't support Head method (connection
> closed gracefully exception is raised anytime but downloading is ok)
> So Get method works fine.
> Show me please, how can I know the length of remote file
> without starting to download it (by Get method somehow?).
The short answer is, if the server does not support Head() then you have no
reliable way to do what you are asking. The whole point of Head() is to
retreive resource info without actually downloading the file first.
Content length posted by Constantine Hvan on Thu, 24 Jul 2003