Go Back   FlashFXP Forums > > > >

Bug Reports If you discover any bugs that we are not aware of, please post it here so it may be corrected.

Reply
 
Thread Tools Rate Thread Display Modes
Old 01-26-2003, 10:04 AM   #1
richto
Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Jan 2003
Posts: 59
Default Bug in Post MKD output

Due to the bug logged below with OnFTPNewDir passing info even if the dir isnt created I tried to use the POST functions instead.

This worked for RMD - except for one reason the output was one character less than on OnFTPDelDir - easily fixed in the script - but still a minor bug I guess

However - when using MKD - for some reason only the directory name itself is passed - not the path. This means that when trying to use it to announce with TJ-ZipScript - it wont announce - because it doesnt know which section its in.

Please could you fix one of the above bugs ASAP?

nb - I can mirror 500 MB of webspace with 15 GB+ a month bandwidth if thats of any interest?
richto is offline   Reply With Quote
Old 01-26-2003, 01:01 PM   #2
darkone
Disabled
FlashFXP Registered User
ioFTPD Administrator
 
darkone's Avatar
 
Join Date: Dec 2001
Posts: 2,230
Default

Ahh, this is not a bug.. Post & Pre events are 'generic' events - they all get actual command as arguments. I will add OnFtpNewDirCreated event into today's release...
darkone is offline   Reply With Quote
Old 01-26-2003, 02:08 PM   #3
richto
Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Jan 2003
Posts: 59
Default

Then why is the output format different between the two POST events? One lists the path AND directory and the other only the directory.
richto is offline   Reply With Quote
Old 01-26-2003, 03:35 PM   #4
darkone
Disabled
FlashFXP Registered User
ioFTPD Administrator
 
darkone's Avatar
 
Join Date: Dec 2001
Posts: 2,230
Default

[Events] and [Post] events are not the same thing.. format between any two post events does not differ.
darkone is offline   Reply With Quote
Old 01-26-2003, 04:50 PM   #5
richto
Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Jan 2003
Posts: 59
Default

But it does - compare the output and see
richto is offline   Reply With Quote
Old 01-26-2003, 05:30 PM   #6
darkone
Disabled
FlashFXP Registered User
ioFTPD Administrator
 
darkone's Avatar
 
Join Date: Dec 2001
Posts: 2,230
Default

Iif RMD is passing more than "RMD <path>" as arguments - then there's a bug somewhere - as output to post/pre events should only contain the command client sent.
darkone is offline   Reply With Quote
Old 01-26-2003, 06:49 PM   #7
richto
Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Jan 2003
Posts: 59
Default

RMD is passing the full path - MKD is only passing the dir name

Ideally both should pass full path.
richto is offline   Reply With Quote
Old 01-26-2003, 07:20 PM   #8
darkone
Disabled
FlashFXP Registered User
ioFTPD Administrator
 
darkone's Avatar
 
Join Date: Dec 2001
Posts: 2,230
Default

If you're using flashfxp - check your command log. Arguments gives to MKD & RMD differ.
darkone is offline   Reply With Quote
Reply

Tags
bug, mkd, output, post, reason

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Disable directory listing shenron General Discussion 4 04-27-2005 07:32 AM
Compare Folder Content -- SUBDIRS too? dgrrr General Discussion 1 04-04-2005 08:28 PM


All times are GMT -5. The time now is 06:15 AM.

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