PDA

View Full Version : Does it matter? c:\ioftpd\scripts or .. \scripts


ChipMunk666
11-09-2005, 10:34 AM
What i mean is in the documnetation there stands

OnUploadComplete = TCL C:\ioFTPD\scripts\ioBanana\ioBANANA.itcl
OnUploadError = TCL C:\ioFTPD\scripts\ioBanana\ioERROR.itcl

but does it may

OnUploadComplete = TCL ..\scripts\ioBanana\ioBANANA.itcl
OnUploadError = TCL ..\scripts\ioBanana\ioERROR.itcl


Is it put intentionally like that?
When i change i don't see any errors but just want to make sure :)

Mr_X
11-09-2005, 02:10 PM
It doesn't matter

ChipMunk666
11-09-2005, 03:03 PM
can this be done in the scripts as well???
###; ioBanana2 by Harm
###; Greets: _tUFF

source "C:/ioFTPD/scripts/ioBanana/ioTOOLS.itcl"

###; Check exclusion
proc zsexcluded {path} {

this is from ioTOOLKET.itcl

Mr_X
11-09-2005, 03:18 PM
I don't know about tcl's.
You should find your answer in the script manual as usual...

ChipMunk666
11-09-2005, 03:20 PM
otherwise i wouldn't ask this well only one way to find out :)

_panic_
11-09-2005, 11:48 PM
you can use relative or absolute paths in either tcl scripts or the .ini files. the choice is more stylistic than substantive.

(btw, relative paths are things beginning with no drive letter, absolute paths do begin with drive letters.)

ChipMunk666
11-09-2005, 11:54 PM
thx panic

Harm
11-11-2005, 04:22 PM
I've chosen absolute paths over relative paths because in some cases a script might change the $pwd variable and then all your relative paths will point to the wrong file (read: nowhere).