Old 06-04-2004, 09:31 AM   #1
FTPServerTools
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Sep 2002
Posts: 543
Default FTPServerTools scripts update warning

For anyone that uses my scripts. I just did some major cookie updating. So OnDirCreated, OnDirDeleted and FTPLogger are all working with it. You need the last FTPServerTools.ini with it. The %t and %s and %~f and such cookies are all gone and are now more readable cookies. Dont mix the use of older and newer versions of those scripts with each other.
In short:
%[ParentPath] = the full path of the parent dir being handled (*NEW*)
%t is now %[DirPath]
%[DirName] = the name dir that is being handled (*NEW*)
%t is now %[FilePath]
%f is now %[FileName]
%#e is now %[FilesExpected]
%a is now %[FilesAvailable]
%#f is now %[FilesGood]
%#b is now %[FilesBad]
%#m is now %[FilesMissing]
%#e is now %[FilesExtra]
%$a is now %[SizeAvailable]files in bytes/KBytes/MBytes
%$f is now %[SizeGood]
%$e is now %[SizeExpected]
%~u is now %[UserName]
%~f is now %[PercentGood]
%~o is now %[PercentMissing]%~p is now %[ProgressBar]

More changes will be coming...
I needed this for %[MP3Artist] and so on.. More changes will be coming.
FTPServerTools is offline   Reply With Quote
Old 09-25-2004, 08:45 AM   #2
dink-puller
Member
ioFTPD Foundation User
 
dink-puller's Avatar
 
Join Date: Sep 2004
Posts: 58
Default

There isn't much in the FTPServerTools readme about how to set it all up with ioFTPD. Is there a n00b.doc anywhere I can lay my mitts on?
::EDIT:: Oh, I see the .ini file is d/l'd separately, I'll start with that.
dink-puller is offline   Reply With Quote
Old 09-25-2004, 04:10 PM   #3
FTPServerTools
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Sep 2002
Posts: 543
Default

goto http://ftpservertools.tripod.com to the ioFTPD section or read FTPServerTools.ini
FTPServerTools is offline   Reply With Quote
Old 10-29-2004, 02:27 AM   #4
dink-puller
Member
ioFTPD Foundation User
 
dink-puller's Avatar
 
Join Date: Sep 2004
Posts: 58
Default

Thanks, I got it all set up nicely, once I figured out that when your site says:

onUploadComplete = ..\scripts\FTPlogger.exe
it actually means

onUploadComplete = EXEC ..\scripts\FTPlogger.exe
no wonder it didn't work!! doh!
Also, people are always uploading useless script tags and message files from other FTP servers. I've taken care of most of them with DeleteFile= *.message and similar, but when the tags are folders and not files, what's the best way to delete them?
dink-puller is offline   Reply With Quote
Old 10-29-2004, 03:47 AM   #5
thewarden
Senior Member
 
Join Date: Jan 2003
Posts: 194
Default

dink-puller -

but when the tags are folders and not files, what's the best way to delete them?

--------

Try this area of the ini...

But watch your WILDCARDS here or you can do damage...


[Uploads]
;DeleteFile=C:\FTP\VCD\!*

^ files

below dir's

[Directories]
Remove=*[*]*
Remove=*-[]-*
Remove=*=[*]=*
Remove=*-=[*]=-*
Remove=*-COMPLETE*
Remove=*-INCOMPLETE*
Remove=*-NONFO
Remove=*-NODIZ
Remove=*solaris*
Remove=*ibm*
Remove=*czech*
Remove=*spanish*
Remove=*german*
Remove=*danish*
Remove=*finnish*
Remove=*italian*
Remove=*swedish*
Remove=*dutch*
thewarden is offline   Reply With Quote
Old 10-29-2004, 05:18 AM   #6
dink-puller
Member
ioFTPD Foundation User
 
dink-puller's Avatar
 
Join Date: Sep 2004
Posts: 58
Default

With my version of ftpservertools and ioFTPD, that returns
an error to the FTPclient and prevents the folder's creation:

BANNED:<foldername> is banned due to banned word: *<*>*
Which I see now is configurable to anything. When that option is removed though, there is no message, but directory still is not created and the item is left in the client's queue, rather than simply allowing it's creation and deleting it, as it does with files.
I have found that this can cause FlashFXP to hang when it expects a raw and it doesn't get one on a failed cmd. Prefacing the message like:
ErrorMatch= 550 Make %[DirName] Failed
works much better. Thanks for your reply.
dink-puller is offline   Reply With Quote
Old 10-29-2004, 08:48 AM   #7
FTPServerTools
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Sep 2002
Posts: 543
Default

That seems to be a buggy flashfxp. It is not supposed to parse the string after the number. The 3 didigt number is only standard according to the rfc 959 ftp standard.
FTPServerTools is offline   Reply With Quote
Reply

Tags
%~f, coming, cookies, dir, scripts

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Telnet kick bug fobban Bug Reports 1 01-29-2003 02:34 PM
Problems with http ratnic Bug Reports 4 01-20-2003 10:07 PM


All times are GMT -5. The time now is 03:04 AM.

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