Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Read attachments from an external directory

Migrated From
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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,

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 by karlox]
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic