 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Guest
|
Posted: Tue Jan 10, 2006 1:31 am Post subject: Wininet HTTPQueryInfo, MIME types and file extensions? |
|
|
I have a Delphi 7 client application and I am trying to determine the
file size of a file on an IIS Server using HTTPQueryInfo and the
HTTP_QUERY_CONTENT_LENGTH flag. The particular file I'm trying to
determine the sixe of has an extension of '$$$', and I think it's
because of this that the HTTPQueryInfo function is returning an
incorrect result. If I rename the file on the server to *.doc or *.txt,
the HTTPQueryInfo function call returns the correct file size.
I think this has to do with MIME types or or something similar on the
web server, but I'm not sure. Is there something in IIS I can configure
to get this function call to work with the $$$ file extension?
Thanks in advance,
Will. |
|
| Back to top |
|
 |
Riki Wiki Guest
|
Posted: Tue Jan 10, 2006 2:21 am Post subject: Re: Wininet HTTPQueryInfo, MIME types and file extensions? |
|
|
On 9 Jan 2006 12:31:21 -0800, rusmo1 (AT) gmail (DOT) com wrote:
| Quote: | I have a Delphi 7 client application and I am trying to determine the
file size...
|
Hoi Will
FYI this newsgroup do not officially exist, that is why there is so few
posts and so few viewers here. The newsgroup you should use is
b.p.d.internet.winsock, and you need to post to the Borland news groups
server.
Take a look here:
<http://tinyurl.com/8m5nw>
which links to
<http://delphi.wikicities.com/wiki/Delphi_Newsgroups> |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|