hi

i installed the module but when i try to configure repository with an external server location i.e. ftp://xxx:xxx@yyyy.com/files i get a message that the directory ftp://xxx:xxx@yyyy.com/files has been created but with another error message that it is not writable. and even if i give full permision (777) to the directory it gives the same error i.e. it is not writable. do you have any idea why such error is found.

Comments

Arto’s picture

Title: Directory not writable » Support for FTP repositories
Component: User interface » Miscellaneous
Assigned: Unassigned » Arto
Category: support » feature

While URL-backed repositories should in theory work, PHP's fopen() wrapper functionality isn't perfect or fully consistent, resulting in some file system functions such as is_writable() not working with some backends (such as indeed FTP).

I'll see what I can do to work around these limitations and allow FTP-backed repositories to be used.

rold’s picture

Project: Bitcache » Drupal core
Version: 6.x-1.x-dev » 5.7
Component: Miscellaneous » base system
Priority: Normal » Critical
drumm’s picture

Version: 5.7 » 7.x-dev
Priority: Critical » Normal
Status: Active » Closed (won't fix)

The Drupal files directory configuration does not support FTP. Adding this would make quite a bit of complexity.

I highly recommend solving this at the operating system level by mounting the remote drive. Then simply configure Drupal to use that directory.