Go Back   FlashFXP Forums > ioFTPD Forum > ioFTPD > Scripting > Harm's scripts

Harm's scripts ioBanana, Readd script, ioVote

Reply
 
Thread Tools Rate Thread
Old 11-09-2005, 09:34 AM   #1
Senior Member
ioFTPD Foundation User
 
Join Date: Jun 2003
Posts: 221
Default Does it matter? c:\ioftpd\scripts or .. \scripts

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
ChipMunk666 is offline   Reply With Quote
Old 11-09-2005, 01:10 PM   #2
Senior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Sep 2003
Posts: 148
Default

It doesn't matter
Mr_X is offline   Reply With Quote
Old 11-09-2005, 02:03 PM   #3
Senior Member
ioFTPD Foundation User
 
Join Date: Jun 2003
Posts: 221
Default

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
ChipMunk666 is offline   Reply With Quote
Old 11-09-2005, 02:18 PM   #4
Senior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Sep 2003
Posts: 148
Default

I don't know about tcl's.
You should find your answer in the script manual as usual...
Mr_X is offline   Reply With Quote
Old 11-09-2005, 02:20 PM   #5
Senior Member
ioFTPD Foundation User
 
Join Date: Jun 2003
Posts: 221
Default

otherwise i wouldn't ask this well only one way to find out
ChipMunk666 is offline   Reply With Quote
Old 11-09-2005, 10:48 PM   #6
Senior Member
Ultimate Scripter
 
Join Date: Jul 2005
Posts: 156
Default

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.)
_panic_ is offline   Reply With Quote
Old 11-09-2005, 10:54 PM   #7
Senior Member
ioFTPD Foundation User
 
Join Date: Jun 2003
Posts: 221
Default

thx panic
ChipMunk666 is offline   Reply With Quote
Old 11-11-2005, 03:22 PM   #8
Too much time...
Ultimate Scripter
 
Join Date: Jul 2003
Posts: 1,462
Default

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).
Harm is offline   Reply With Quote
Reply
Create a free account to browse our forums without ads



Thread Tools
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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -5. The time now is 11:07 PM.