Software602 Home . products . download . support . register . how to buy . . view cart . . . contact us . . . .
Software602 Home . . . . . .
. .
.
.
Software602 Login
E-mail:
Password:
forgot?
.
Support Home .
.
User Forum .
.
Knowledge Base .
.
Submit Ticket .
.
View My Tickets .
.
. .
.
602LAN SUITE 2004 User Forumforum home | rss | search | terms of use
BackBack to 602LAN SUITE 2004 Forum
Add New TopicAdd New Topic
Post ReplyPost Reply
WWW server: add new file type
  Posted by  Alexander Efimov  on Thursday, May 05, 2005 at 5:01:31 AM (EST)
Hi!
Is there any way to register new file types with description? I need this to download java games.

.jad text/vnd.sun.j2me.app-descriptor
.jar application/java-archive

On IIS these settings can be accessed by HTTP Headers tab, File Types button.
  Posted by Ian Sandeman  on Thursday, May 05, 2005 at 9:59:21 AM (EST)
I posted about the same thing a few days ago but have not found an answer so far. .PDF files seem to be recognised but not MSOffice types such as .DOC or .XLS etc. Would be handy if there was a way of specifying what types can be downloaded.

Ian.
  Posted by Robert Smith  on Thursday, May 05, 2005 at 11:57:14 AM (EST)
YOu have to specify it as a mime type. There's been a couple posts about doing this that can be found by searching for "mime". basically you have to edit your socksdll.ini file to include these mime types.
  Posted by Alexander Efimov  on Friday, May 06, 2005 at 3:54:11 AM (EST)
I've found only this:
<<
Add the PDF mime type to your socksdll.ini.
I believe it's:
application/pdf=pdf
That will launch your default pdf viewer (aka acrobat)
>>
I'm worry about "I believe" and also there are 3 sections in socksdll.ini file:
[Main]
[Proxy]
[WWWServer1]
I guess it is [WWWServer], but not sure.
  Posted by Robert Smith  on Friday, May 06, 2005 at 9:52:13 AM (EST)
mime types are standard.

http://www.iana.org/assignments/media-types/

you will see the list of mime types listed in that file. Add your type at the bottom of the list. simple as that.
  Posted by Ian Sandeman  on Monday, May 09, 2005 at 8:05:22 AM (EST)
I couldn't see any description of the syntax of each line in that document.

Found a page here
http://oregonstate.edu/cws/tutorials/faq/mime-types.html
that looks more like it.

Still not sure about the entry of these items

application/mpeg

would seem to be all that is needed for .mp3 files.

Does it have to have the file extension in it?

eg application/mpeg mp3
without the equals sign?

Only I tried this in the [wwwserver] section and it didn't work. Do you have to stop and start the www service for this to work?

Ian.
  Posted by Ian Sandeman  on Friday, May 13, 2005 at 4:56:13 AM (EST)
Not having much luck with this. Will probably find an FTP server app. That would be better.
BackBack to 602LAN SUITE 2004 Forum
Add New TopicAdd New Topic
Post ReplyPost Reply
.
. . .
.
  © 2009 Software602, Inc. All rights reserved.