Link to Network Attached Drive?

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.
12/22/2010 3:10:03 PM
Gravatar
Total Posts 3

Link to Network Attached Drive?

My users maintain their files on a network drive.  I would like to link to those files in an intranet setting.  The 'file://' links work fine in IE, however other browsers take some work to get this to work. Is there built-in functionality to get files to download from other locations?  I didn't see any documentation that related to this.  If you have any suggestions let me know.  Thanks

12/22/2010 4:50:58 PM
Gravatar
Total Posts 1203
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Re: Link to Network Attached Drive?

Hi, welcome to mojoPortal! If you are open to placing these files on the web server rather than the NAS, you could use the mojoPortal Shared Files feature to host and secure the files within mojoPortal. Authorized users would be able to set up a folder hierarchy within the Shared Files module, if that's needed. We may be using this method in the future for our iPad users to exchange files.

If you are hosting mojoPortal on your own server (that can see the NAS on the network), and want to keep the files on the NAS, you should still be able to link to them without using "file://". To do this, the web server would have to be able to see the files as part of its web tree so it could serve them. You can use a persistent drive mapping to the NAS' UNC path. There will undoubtedly be some permissions updates needed to do this.

If you are hosting externally, or the web server cannot see the NAS, I think the Shared Files module would be the only way to get around using a file:// link.

Jamie

12/23/2010 7:31:32 AM
Gravatar
Total Posts 3

Re: Link to Network Attached Drive?

Thank you Jamie.  

I'm using IIS 7.5.  I added a Virtual Directory to Data/Site/1 called edrive.  I set up the permissions so it will connect as an authenticated user to the NAS, and that works.  When I'm editing a link with CKEditor I click on Browse Server I don't see the edrive I just created.  Could you point me in the right direction?  Is it some web.config setting I missed?  I restarted the server thinking it might be a caching issue, but nope.

Thank you.

12/23/2010 9:08:17 AM
Gravatar
Total Posts 18439

Re: Link to Network Attached Drive?

I would create the Virtual directory hat maps to your NAS under /Data/Sites/1/media since that is the default starting location for the file manager.

Hope it helps,

Joe

12/28/2010 8:14:27 AM
Gravatar
Total Posts 3

Re: Link to Network Attached Drive?

Thanks for all of the help.

After I realized that the FileDialog.aspx page wouldn't be able to show the virtual directory I typed all of the links and it works great.

Thanks again, this is a great product!

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