wood burning stoves 2.0*
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » JForum
Bookmark "Read attachments from an external directory" Watch "Read attachments from an external directory" New topic

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.

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]
I agree. Here's the link: http://aspose.com/file-tools
subject: Read attachments from an external directory
Similar Threads
problem of indexing and storing the attachment
LDAP authentication for Jforum
Image Uploading Problem In Tomcat Live Server
Hide attachment folder
Attachments (to outside JForum directories)