BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Wininet HTTPQueryInfo, MIME types and file extensions?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet
View previous topic :: View next topic  
Author Message
Guest






PostPosted: Tue Jan 10, 2006 1:31 am    Post subject: Wininet HTTPQueryInfo, MIME types and file extensions? Reply with quote



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





PostPosted: Tue Jan 10, 2006 2:21 am    Post subject: Re: Wininet HTTPQueryInfo, MIME types and file extensions? Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.