Go Back   FlashFXP Forums > ioFTPD Forum > ioFTPD > ioFTPD beta > Bug Reports

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
Old 04-10-2004, 03:57 PM   #1
Senior Member
FlashFXP Registered User
ioFTPD Scripter
 
Join Date: Jan 2003
Posts: 288
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
Posse Member
Ultimate Scripter
ioFTPD Administrator
 
Join Date: Dec 2002
Posts: 2,022
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
Senior Member
FlashFXP Registered User
ioFTPD Scripter
 
Join Date: Jan 2003
Posts: 288
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
Senior Member
FlashFXP Registered User
ioFTPD Scripter
 
Join Date: Jan 2003
Posts: 288
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
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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -5. The time now is 02:10 PM.