With this patch, MUTE uses two directories:
- the existing "share directory" (for Up + Down)
- a new "upload directory" (for Up)
Handy for example if you want to download to a messy dir and upload from another (where you store cleanly your files).
--------
Note to the developpers:
For this patch I had to modify 4-5 files and to allow MUTE to distinguish between a request for a file in the Share directory or in the Upload directory. For this I used a Directory Tag (like DIRTAG_0 for Share and DIRTAG_1 for Upload).
Having quite a mess of string processing to perform I rewrote quite deeply two functions inside fileShare.cpp to use CPP-strings intead of C-strings (as they are more convenient and bug-proof)
This patch was made using "cvs diff -u ./MUTE"
MUTE-Patch to add an Upload directory