Go Back   FlashFXP Forums > > > >

StarDog's scripts ioZS, newday

Reply
 
Thread Tools Rate Thread Display Modes
Old 05-13-2003, 09:49 PM   #1
dasOp
Member
 
Join Date: Jan 2003
Posts: 91
Default Small app for iozs's ONUPLOADCOMPLETE

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.
dasOp is offline   Reply With Quote
Old 05-14-2003, 05:53 AM   #2
phoenixfr
Senior Member
 
Join Date: Nov 2001
Posts: 149
Default

thanks for sharing
will try as soon as possible
phoenixfr is offline   Reply With Quote
Old 05-14-2003, 08:26 AM   #3
dasOp
Member
 
Join Date: Jan 2003
Posts: 91
Default

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 is offline   Reply With Quote
Old 05-14-2003, 11:06 AM   #4
dasOp
Member
 
Join Date: Jan 2003
Posts: 91
Default

....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?
dasOp is offline   Reply With Quote
Old 05-14-2003, 03:49 PM   #5
Stardog
Senior Member
FlashFXP Registered User
ioFTPD Scripter
 
Join Date: Oct 2001
Posts: 236
Default

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...
Stardog is offline   Reply With Quote
Old 05-14-2003, 05:14 PM   #6
dasOp
Member
 
Join Date: Jan 2003
Posts: 91
Default

Sweet! With the option of parsing the output of whatever program is run?
As it is right now, io symlinks are an impossibility.
dasOp is offline   Reply With Quote
Old 01-01-2004, 08:55 PM   #7
MrMastah
Junior Member
ioFTPD Foundation User
 
Join Date: Dec 2003
Posts: 15
Unhappy

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) :
Quote:
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!
MrMastah is offline   Reply With Quote
Old 01-02-2004, 09:02 AM   #8
dasOp
Member
 
Join Date: Jan 2003
Posts: 91
Default

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 is offline   Reply With Quote
Old 01-02-2004, 09:07 AM   #9
dasOp
Member
 
Join Date: Jan 2003
Posts: 91
Default

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.
dasOp is offline   Reply With Quote
Old 01-02-2004, 09:19 AM   #10
MrMastah
Junior Member
ioFTPD Foundation User
 
Join Date: Dec 2003
Posts: 15
Default

Yes, I figured out that you missed to update the readme
So I did test:
Code:
ONRELEASECOMPLETE=c:\ioftpd\scripts\iozsjunction.exe $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 !
MrMastah is offline   Reply With Quote
Old 01-02-2004, 09:24 AM   #11
dasOp
Member
 
Join Date: Jan 2003
Posts: 91
Default

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?
dasOp is offline   Reply With Quote
Old 01-02-2004, 09:36 AM   #12
MrMastah
Junior Member
ioFTPD Foundation User
 
Join Date: Dec 2003
Posts: 15
Default

My iozsjunction.ini looks like:
Quote:
[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 is offline   Reply With Quote
Old 01-04-2004, 10:34 AM   #13
MrMastah
Junior Member
ioFTPD Foundation User
 
Join Date: Dec 2003
Posts: 15
Default

Anyone that got this to work? I don't unfortunately!? Need it really baaad! Could someone help? Plz!
MrMastah is offline   Reply With Quote
Old 01-04-2004, 12:19 PM   #14
dasOp
Member
 
Join Date: Jan 2003
Posts: 91
Default

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.
dasOp is offline   Reply With Quote
Old 01-04-2004, 05:52 PM   #15
MrMastah
Junior Member
ioFTPD Foundation User
 
Join Date: Dec 2003
Posts: 15
Default

Ok, thanks! Really nice! Btw, I have a post in the registered users forum (dunno if you are regged) http://www.ioftpd.com/board/showthre...&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...

MrMastah is offline   Reply With Quote
Reply

Tags
app, daydirs, folder, onuploadcomplete, small

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to disable bak files shmena General Discussion 1 02-19-2005 05:58 PM


All times are GMT -5. The time now is 07:06 AM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)