Go Back   FlashFXP Forums > > > >

ioFTPD General New releases, comments, questions regarding the latest version of ioFTPD.

Reply
 
Thread Tools Rate Thread Display Modes
Old 03-24-2007, 08:32 AM   #16
EwarWoo
Senior Member
FlashFXP Registered User
ioFTPD Registered User
 
Join Date: Oct 2002
Posts: 462
Default

Quote:
Originally Posted by ChipMunk666 View Post
a gui would be cool to have aswell but i guess that isn't the important thing...
A GUI would be completely against the purposes of io. I would hope you'll be waiting a long time to see that happen.

GUI needs to remain an optional add-on only. Try ioGUI, thats pretty good.
EwarWoo is offline   Reply With Quote
Old 03-25-2007, 12:37 AM   #17
Yil
Too much time...
FlashFXP Beta Tester
ioFTPD Administrator
 
Join Date: May 2005
Posts: 1,194
Default OnDelDir

Quote:
Originally Posted by mr_F View Post
... i'd really like to see this bug fixed:
http://www.inicom.net/forum/showthread.php?t=8245
it STILL causes me a headache ;P
First off, I'd like to see the ACTUAL onDelDir command line from your ioFTPD.ini file because I don't think it's a plain line like OnDelDir = EXEC ..\scripts\args.exe

By default OnDelDir gets 2 arguments after the path of the script, the real directory path being deleted and the VFS path, but you have 3.

Using your example I'll show you where the error is and why it doesn't happen unless you add in the extra parameter which you shouldn't need.

..\scripts\checkscript.exe "f:\[---new---]" "f:\[---new---]\test" "/admin/f-root/[---new---]/test/"

And in the drive-root case I'm guessing you're actual command look like:

OnDelDir = %EXEC ..\scripts\args.exe %[$path]

which turns into

..\scripts\checkscript.exe f:\ "f:\shitsdfjfsdkjlfsd" "/admin/f-root/shitsdfjfsdkjlfsd/"

Notice the trailing \ in f:\ and that the expanded cookie isn't enclosed in quotes. I'm guessing you then parse the line and the \ escapes the [space] and thus the first argument runs into the second... all bets are off after that.

Or maybe it turns into

..\scripts\checkscript.exe "f:\" "f:\shitsdfjfsdkjlfsd" "/admin/f-root/shitsdfjfsdkjlfsd/"

And again the \ quotes the next character the " which then goofs everything up...

There really is no reason to need the %[$path] argument, just compute it from the directory name by removing 1 path level. Or else arrange to quote the expanded cookie safely or parse the line differently...

Last edited by Yil; 03-25-2007 at 01:15 AM.
Yil is offline   Reply With Quote
Old 03-26-2007, 03:45 AM   #18
FTPServerTools
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Sep 2002
Posts: 543
Default

My args.exe seems to still get used.
So stupidly simple is such a program and still handy...
FTPServerTools is offline   Reply With Quote
Old 03-26-2007, 11:43 PM   #19
mr_F
Member
FlashFXP Beta Tester
ioFTPD Foundation User
 
Join Date: Jul 2005
Posts: 33
Default

no dice ftpservertools, my checkscript.exe still gets used
i guess we both ended up making the same program
mr_F is offline   Reply With Quote
Reply

Tags
files, listings, older, stuff, upload

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 On
HTML code is Off

Forum Jump


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

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