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 04-10-2004, 03:57 PM   #1
tuff
Senior Member
FlashFXP Registered User
ioFTPD Scripter
 
Join Date: Jan 2003
Posts: 277
Default another itcl chattr bug?

vfs chattr is either not writing or reading more than 2047 characters to each availble entery

global pwd
set text "random-2048-character-string-here"
vfs chattr "[resolve pwd $pwd]" 100 "$text"
iputs "WROTE: [string length $text]"
set readback [vfs chattr "[resolve pwd $pwd]" 100]
iputs "READ BACK: [string length $readback]"

WROTE: 2048
READ BACK: 2047

is this intentional? or another bug?
__________________
#iotools #ioftpd (both on efnet)
tuff is offline   Reply With Quote
Old 04-10-2004, 06:02 PM   #2
Mouton
Posse Member
Ultimate Scripter
ioFTPD Administrator
 
Join Date: Dec 2002
Posts: 1,956
Default

did u check header files to see the max size of a chattr ?
Mouton is offline   Reply With Quote
Old 04-10-2004, 06:54 PM   #3
tuff
Senior Member
FlashFXP Registered User
ioFTPD Scripter
 
Join Date: Jan 2003
Posts: 277
Default

couldnt find anything in the header files, i take it you mean the source/include stuff.

but then, im prolly blind
__________________
#iotools #ioftpd (both on efnet)
tuff is offline   Reply With Quote
Old 04-11-2004, 01:05 PM   #4
tuff
Senior Member
FlashFXP Registered User
ioFTPD Scripter
 
Join Date: Jan 2003
Posts: 277
Default

i decided to have another look at this problem

ive uploaded `test.sfv`

226-WROTE: 3060
226-READ BACK: 2047

but, when i examine the.ioFTPD file for the directory, all
the entries that it says it wrote, are there.

so it looks like a read problem
__________________
#iotools #ioftpd (both on efnet)
tuff is offline   Reply With Quote
Reply

Tags
chattr, length, pwd, read, set

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


All times are GMT -5. The time now is 06:47 PM.

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