Hi!

I want to create Distributed File Download module so each file could be downloaded from different locations. It will be very useful for drupal-based media sites for downloading and especially streaming files.

Idea is next:
1) One central site stores all data and all files.
2) There's a special module which maintains list of mirror-servers with such info: country, name, active flag, login and password for uploading and so on.
3) When a node with attached files gets published special module transmits files to all active mirror-servers. After each successful transmit it writes to the db "file XXX is placed on these servers: 1,2,3,...."
4) When user wants to download or see such file, system automatically (by some specific rules) selects from which server to download it, and sends user correct link.
5) If files gets deleted system deletes all copies of it.

May be smb knows a module with similar functionality?

If no, who can help me with development, because now I don't know Drupal such well?

Thanks.
Eugene

Comments

yelvington’s picture

I'm not aware of anything that provides the Sourceforge-like behavior that you describe, but you should investigate the Media Mover module, which provides a framework for creating such workflows:

http://drupal.org/project/media_mover

Note that it already supports S3 storage, which would solve the core issue of moving downloads off the webserver onto an arbitrarily scalable platform.

el777’s picture

I'll investigate it!

Yours,
Eugene