View Single Post
Old 02-28-2003, 01:40 PM  
Stardog
Senior Member
 
Join Date: Oct 2001
Posts: 236
Default

Ok, First, to clarify things. The links are done at a lower level, using NTFS (NTFS in Windows 2000 and up supports whats called junction points, they work very similar to symlinks in unix). Nothing need to be added to ioFTPD to support this, but if you don't have NTFS, it won't work.

Now to set it up. Lets say for example my MP3s are upped to dated dirs in D:\Incoming\MP3z\ and in this dir I want to have the sorted links. In D:\Incoming\MP3z make three sub dirs, Sorted by Genre, Sorted by Artist, and Sorted by Year. Next in ioZS.ini add the following lines:

AUDIO_GENRE_PATH=D:\Incoming\MP3z\Sorted by Genre\
AUDIO_ARTIST_PATH=D:\Incoming\MP3z\Sorted by Artist\
AUDIO_YEAR_PATH=D:\Incoming\MP3z\Sorted by Year\

Note: The dirs defined in ioZS.ini MUST be created, If not, it won't work, and you'll get an error in the iozs-error.log telling you the dirs don't exist. Also, the dirs that the MP3s will be sorted to must be on the same drive that the MP3s are upped to. Links do not work across filesystems.

Now lets say some wonderful tunes from 1986 are upped (and you allow these classic sounds) to D:\Incoming\MP3z\02.28.03\, in D:\Incoming\MP3z\Sorted by Year\ ioZS will make (if it doesn't already exsit) a sub folder called 1986 and in there, it will make another folder that matches the uploaded MP3 release folder, and it will make this folder link to the actual release in D:\Incoming\MP3z\02.28.03\. Basically to ioFTPD these two dirs will look identical, and they are, except that the files only reside in one folder. It will also make the links in Artist, and Genre dirs. If for some reason it can't creat the link, you'll get an error in the iozs-error.log file.

Hopefully this explains the link feature.

StarDog
Stardog is offline   Reply With Quote