bantonj / Baldur

MFT Download Client and Library
0 stars 0 forks source link

Create Registration Server #4

Closed bantonj closed 11 years ago

bantonj commented 11 years ago

Match the use case of the MFT software where all you have to do is drop a file in a folder on the server and have it show up in a remote directory listing.

2 Options:

  1. Have server software with a hot folder that automatically processes files dropped in it, creating a frac_hash with the appropriate CDN linked, with a corresponding HTTP service that lists those files.
  2. Have server software that does the above, and then also serves up the file directly as an HTTP file server.

Maybe do both?

bantonj commented 11 years ago

*Wrote the file listing to html part, and downloading.

*Need to add automatically creating and hosting frac_hash files. The frac_hash files should be stored in a invisible directory, or as .filename.frac_hash.frac files, either way they shouldn't be listed in the file list view.

*Should add automatic use of frac_hash files from baldur_server without manually downloading or specifying the frac_hahs file in the baldur client.

*Should watch for removed files and delete the frac_hash file, and also monitor modification dates, and recreate the frac_hash if it changes.