how to link Winrar file?

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
11/27/2012 3:41:00 AM
kok
Gravatar
Total Posts 47

how to link Winrar file?

hi all,

I need to link Winrar files, can do it?

what the step?

thanks.

 

11/27/2012 9:59:19 AM
Gravatar
Total Posts 1203
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Re: how to link Winrar file?

Add the .rar extension to the AllowedUploadFileExtensions key in web.config/user.config, like this:

<add key="AllowedUploadFileExtensions" value=".cer|.gif|.jpg| ... |.rar">

That will allow you to upload files with the .rar extension using the file browsers in mojoPortal. If users with lower privileges than administrator/content administrator need to upload rar files, you can also add that file extension to the key AllowedLessPriveledgedUserUploadFileExtensions.

You might also need to add to or modify the MIME types defined in IIS. With some quick searching I've seen the MIME type for rar listed as either "application/octet-stream" or "application/x-rar-compressed". You can experiment with that MIME setting across different browsers to figure out what works best for you.

Jamie

You must sign in to post in the forums. This thread is closed to new posts.