How can I set file/s saving path outside default filefield directory (outside: /files directoy might be in the server location) and also I do not like to change the file system path (sites/default/files) under /admin/settings/file-system.

Comments

Yuki’s picture

???

quicksketch’s picture

You cannot save files outside the file directory path with FileField (or at all with Drupal generally speaking).

Yuki’s picture

if i request it as a feature request would it be possible in future?

quicksketch’s picture

if i request it as a feature request would it be possible in future?

Probably not because Drupal 6 is not designed to work outside the Drupal files directory. However in Drupal 7 you can save files anywhere through the use of PHP Stream Wrappers like "public://file.png" or "flickr://username/file.png".

quicksketch’s picture

Title: How can I set file/s saving path outside » Save files outside of the Drupal files directory
Status: Active » Closed (won't fix)
abaddon’s picture

for reference, this module does what this issue is about http://drupal.org/project/filefield_private