View Single Post
Old 01-04-2004, 12:17 PM  
Harm
Too much time...
 
Join Date: Jul 2003
Posts: 1,430
Default [itcl] mountfile open doesn't work for scheduled scripts

That's the code i use for testing, using ioFTPD 5.4.3r
Code:
set anuke(mtab)	"C:/ioFTPD/etc/default.vfs"

proc autonuke {} {
global anuke
# Load mount table
if {[catch { mountfile open $anuke(mtab) }]!= 0} {return 1}
putlog "TEST: \"/\" is resolved to \"[resolve pwd "/"]\" using \"$anuke(mtab)\""
}
autonuke
That's what i get in ioFTPD.log when i run the script using a site command:
01-04-2004 18:10:11 TEST: "/" is resolved to "C:/ioFTPD/site" using "C:/ioFTPD/etc/default.vfs"

And that's what i get when i use the scheduler:
01-04-2004 18:10:44 TEST: "/" is resolved to "" using "C:/ioFTPD/etc/default.vfs"
Harm is offline