PDA

View Full Version : "On complete move upload" script?


vincenzo
01-16-2005, 10:52 AM
I have been configuring my ioFTPD to make it do things automatically as much as possible, so it won't consume as much of my time as before. :)

I already looked if there was something out for this. What I want is this. :confused:

Someone uploads a movie to the server in the "upload" directory, now if the upload is done I want it to be moved automatically. For example if it's an MP3 I want it to be moved to the "mp3" dir, if it's a movie I want it to be moved to the "movie" dir.

Now I have no idea if this is possible, I think you can write some batch file but that would only cover the basics.

Is there anyone who knows if there is already a script out there. I saw "WarChive" has something like this, but it's disk space orientated. :eek:

Thanks in advance.

esmandil
01-16-2005, 10:56 AM
A stupid question maybe, but why not make people upload directly to /movies, /mp3 etc? Seems to be a much easier :D

vincenzo
01-16-2005, 11:35 AM
Could do that, but that would make it messy in this case... hehe..

Since not all the users are that, hm how do you put it in a nice way. Famillar with all the features etc. ;)

Edit:

Now you mention it, you are right! They just have to learn the rules etc.. Thanks for the thought!

eyescold
01-28-2005, 04:11 AM
I would like this too.... The single reason for this is that my harddrives are broken at an unacceptable rate, because of writing and reading to the same drive all the time... So if someone could make this happen i (and my drives) would appreciate it! =)