Posted by arthurf on March 9, 2009 at 1:23pm
In the ongoing process of simplifying module development and reducing the duplication of effort, I'm proposing creating two modules- FTP API and S3 API. These modules will only provide these services and some configuration API. They will not provide a UI for the actual browsing and moving of files. I see the following functionality for each module:
- getting file list from specified directory
- getting file
- putting file
- setting file permissions
- global settings (user/pass, directory)
- per-user settings (optional)
These modules will provide the stream wrapper layer for compatibility with the Media module
What do people think? Any functionality that I'm missing?

Comments
These sound great! I know
These sound great! I know there are a few FTP stream wrappers floating around that could be used for inspiration, notably at http://code.google.com/p/ftp-php/
Might be good for SOC material too. (As would other stream wrappers as well; we're about to open the market for them...)
Aaron Winborn
Drupal Multimedia (book, in October!)
AaronWinborn.com (blog)
Advomatic (work)
Aaron Winborn
Drupal Multimedia (my book, available now!)
AaronWinborn.com
Advomatic
If you're trying to list all
If you're trying to list all the FTP operations we might need, don't forget mkdir.
Good call
Put bucket would be needed for S3 also. Other functions which should be replicated from the drupal file functions:
http://24b6.net
http://24b6.net