QtFile file manager - case conversion?

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
1/11/2010 6:58:11 PM
Gravatar
Total Posts 1203
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

QtFile file manager - case conversion?

Hi Joe and everyone, I'm just getting started with MojoPortal development, and have a test site built from the latest SVN source. My webmaster reported that she really likes the QtFile file manager, but it's converting her uploaded file names to all lower case. Is this case conversion planned to be left in the next release version? If so, will there be a setting we can use to change that behavior to preserve filename case, matching the "alternate" file manager?

If there are important reasons for using lower case filanames for images and other files, I'd be open to hear them. It would certainly be best to get all this worked out in our pilot program phase.

Thanks!

1/12/2010 5:30:15 AM
Gravatar
Total Posts 18439

Re: QtFile file manager - case conversion?

Hi Jamie,

It is a configuration option, if you want to allow mixed case files and folders, you can add this to your user.config file:

<add key="ForceLowerCaseForFolderCreation" value="false" />
<add key="ForceLowerCaseForUploadedFiles" value="false" />

The reason we force lower case by default is because mojoPortal can run on Linux. On Windows urls are not case sensitive because the file system is not case sensitive, but on Linux both the file system and urls are case sensitive so one mistake in capitalization can cause a broken url and forcing lower case ensures a convention that will prevent that.

If you are 100% sure you will never move your mojoPortal site to Linux or host the files on a Linux server it is fine to allow mixed case.

Best,

Joe

1/12/2010 9:36:43 AM
Gravatar
Total Posts 1203
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Re: QtFile file manager - case conversion?

Thanks Joe, that's just what I needed.

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