SharedFiles - Where are my files?

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
4/12/2013 12:00:35 PM
Gravatar
Total Posts 28

SharedFiles - Where are my files?

I am working on the latest version of mojoPortal, on a PC.

I have uploaded many PDFs using the SharedFiles module, and everything seems to work well. They download easily, I can edit names, etc. However, I cannot find my files on the server. I expected to find the files in /Data/Sites/(SiteID)/SharedFiles/, but there are only jumbled .congif files located here. Not the PDF's I uploaded.

When I download a file via the module, instead of being taken to a link like this: www.website.com/SharedFiles/Example-Document.pdf

I am taken to something like this: www.website.com/SharedFiles/Download.aspx?pageid=40&mid=267&fileid=31

Even that jumped url does not match up with the .config files located in ..SharedFiles/. Are my files located somewhere else? How can I link to them via a text link on another page? I do not want to upload nearly 50 PDF's twice. Please advise.

Thank you!

4/12/2013 12:11:04 PM
Gravatar
Total Posts 18439

Re: SharedFiles - Where are my files?

That is by design, see the article Using the Shared Files Module, it is designed to store files securely and protect them by roles. 

I would not generally recommend linking to files in Shared Files from other content. You can upload and link to files directly in the wysiwyg editor if the files don't need to be protected by roles. ie in the editor click the link toolbar item and then you can browse the server and upload files. That is how I would link to public pdf files from html content.

Hope that helps,

Joe

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