aspose file tools*
The moose likes JForum and the fly likes Read attachments from an external directory Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JForum
Bookmark "Read attachments from an external directory" Watch "Read attachments from an external directory" New topic
Author

Read attachments from an external directory

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
hi all from Spain!

This is my first post, I've been 'playing' with JForum and I would like to know if its posible to read/display attachment files (specifically pictures) from an external folder.

SITUATION
aplication directory: /opt/websphere/forum
attachment directory: /data/upload

After puting this in SystemGlobals.properties,

I managed to store the files in the desired directory but pictures are not displayed when read

Seeing the source code of the webpage:


I don't think this problem is related with privilegues because if I click on the download link I get any file succesfully, even pictures.

Anyone knows how can I fix this?

Thanks in advance


[originally posted on jforum.net by karlox]
 
 
subject: Read attachments from an external directory