View Full Version : Small app for iozs's ONUPLOADCOMPLETE
dasOp
05-13-2003, 09:49 PM
Hi everyone,
I made a small app for iozs's ONUPLOADCOMPLETE feature.
What it does is create a soft link, a so called junction, in a configurable folder to the complete folder.
Seems silly, why did I bother with that?
Alot of small sites still utilize daydirs just so users can see what's new. But if you only get a small amount of rels per day its a mess to browse through 30 daydirs just to see whats on the site.
So with this app you can have junctions in a central incoming folder to see whats on the site and still use daydirs.
Basically a fullsite feature, which iozs lacks.
It also comes with a small app to remove junctions and a registry file to incorporate it into explorer.
And the name does not mean I have anything to do with iozs, it's just tributary. :)
phoenixfr
05-14-2003, 05:53 AM
thanks for sharing
will try as soon as possible
dasOp
05-14-2003, 08:26 AM
oh, forgot to mention that junctions are only supported on ntfs5 and above. That means Windows2000+.
The targets can be on any filesystem you please, even UNC paths.
But the Junction must be on an NTFS filesystem.
dasOp
05-14-2003, 11:06 AM
....and as soon as I know what the format of the binary .ioftpd files is I'll include an option to use symlinks instead of junctions.
Unfortunately, iozs does not allow the program called from ONUPLOADCOMPLETE to output anything so !vfs:chattr is out of the question.
Anyone know or can give hints to the format?
Stardog
05-14-2003, 03:49 PM
In the next release of ioZS you'll be able to get more info from the script also. All the cookies used for logging will be available for tags, and for the events...
dasOp
05-14-2003, 05:14 PM
Sweet! With the option of parsing the output of whatever program is run?
As it is right now, io symlinks are an impossibility.
MrMastah
01-01-2004, 08:55 PM
Posting in an "old" thread coz I tried ioZSjunction.exe but it seems to NOT work with ioFTPD beta5-4-3r & ioZS 1.08...
I tried this (as the readme says) :
Installation:
Put iozsjunction.exe and its ini file in c:\ioftpd\scripts, or
wherever your installation is.
Edit your iozs.ini and make sure your ONUPLOADCOMPLETE looks
something like:
ONUPLOADCOMPLETE=c:\ioftpd\scripts\iozsjunction.ex e $path
Again, adjust the path to fit your installation.
But there isn't even an ONUPLOADCOMPLETE in iozs.ini so I added it myself but no...
then tried ONRELEASECOMPLETE=c:\ioftpd\scripts\iozsjunction.e xe $path
but as you already guessed that don't work either...
So is there anyway to get this to work or am I screwing something up with the installation etc???
Hopefully someone can help me! :rolleyes:
dasOp
01-02-2004, 09:02 AM
According to latest iozs readme, it's ONRELEASECOMPLETE nowadays. So try that. Otherwise, I dunno what the problem is. I don't even remember exactly what the app does. :)
dasOp
01-02-2004, 09:07 AM
Hmm. You did edit iozsjunction.ini properly and put it in the same place as iozsjunction.exe right? Seems I missed mentioning it in the Readme.txt. :)
MrMastah
01-02-2004, 09:19 AM
Yes, I figured out that you missed to update the readme ;)
So I did test: ONRELEASECOMPLETE=c:\ioftpd\scripts\iozsjunction.e xe $path unfortunately that didn't help, still nothing...
and yes, both iozsjunction.exe and iozsjunction.ini are in the same folder... (but not in the same folder as iozs.ini, could that be it?)
Thanks for the quick reply! That made me :D !
dasOp
01-02-2004, 09:24 AM
No, it should work properly as long as both the .exe and .ini are in the same place.
Wonder if it's something in the .ini then. What does your iozsjunction.ini look like?
MrMastah
01-02-2004, 09:36 AM
My iozsjunction.ini looks like:
[ioZSJunction]
FolderMapping = F:\FTP\03_MUSiC\03_UPLOAD\*|F:\FTP\09_NEW\
FolderMapping = F:\FTP\03_MUSiC\01_MP3\04_ARCHiVE\*|F:\FTP\09_NEW\
In above code my <pathmask> is the physical path and <destination> path too (I assumed that coz the readme examples are in that format and the iozsjunction.ini comments says just: FolderMapping = <pathmask>|<destination>)
MrMastah
01-04-2004, 10:34 AM
Anyone that got this to work? I don't unfortunately!? Need it really baaad! Could someone help? Plz! :confused:
dasOp
01-04-2004, 12:19 PM
Just hang in there and I'll have a debug version out tonight or tomorrow.
As for anyone getting it to work.. I dont think many, if any, are using it. :)
MrMastah
01-04-2004, 05:52 PM
Ok, thanks! Really nice! Btw, I have a post in the registered users forum (dunno if you are regged) http://www.ioftpd.com/board/showthread.php?s=&threadid=2308 . Maybe you could help out with that one? It seems you're the only one with knowledge of how to create/delete junction points...
:D
MrMastah
01-15-2004, 06:42 PM
Well, DasOp, how are the programming going.... :)
Anything in the works maybe???
vBulletin® v3.8.11 Alpha 3, Copyright ©2000-2024, vBulletin Solutions, Inc.