Go Back   FlashFXP Forums > > > >

Harm's scripts ioBanana, Readd script, ioVote

Reply
 
Thread Tools Rate Thread Display Modes
Old 11-09-2005, 10:34 AM   #1
ChipMunk666
Senior Member
ioFTPD Foundation User
 
Join Date: Jun 2003
Posts: 220
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, 02:10 PM   #2
Mr_X
Senior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Sep 2003
Posts: 142
Default

It doesn't matter
Mr_X is offline   Reply With Quote
Old 11-09-2005, 03:03 PM   #3
ChipMunk666
Senior Member
ioFTPD Foundation User
 
Join Date: Jun 2003
Posts: 220
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, 03:18 PM   #4
Mr_X
Senior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Sep 2003
Posts: 142
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, 03:20 PM   #5
ChipMunk666
Senior Member
ioFTPD Foundation User
 
Join Date: Jun 2003
Posts: 220
Default

otherwise i wouldn't ask this well only one way to find out
ChipMunk666 is offline   Reply With Quote
Old 11-09-2005, 11:48 PM   #6
_panic_
Senior Member
Ultimate Scripter
 
Join Date: Jul 2005
Posts: 153
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, 11:54 PM   #7
ChipMunk666
Senior Member
ioFTPD Foundation User
 
Join Date: Jun 2003
Posts: 220
Default

thx panic
ChipMunk666 is offline   Reply With Quote
Old 11-11-2005, 04:22 PM   #8
Harm
Too much time...
Ultimate Scripter
 
Join Date: Jul 2003
Posts: 1,430
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

Tags
change, intentionally, onuploadcomplete, onuploaderror, tcl

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


All times are GMT -5. The time now is 03:54 PM.

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