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.

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
Old 09-17-2005, 07:21 PM   #1
Yil
Too much time...
FlashFXP Beta Tester
ioFTPD Administrator
 
Join Date: May 2005
Posts: 1,194
Default []'s in filenames don't work right

For some reason any use of []'s in a directory name totally breaks cwd/ls (maybe others) if use specify a path. I can't remember if []'s in a filename also breaks retr's with a path or not...

Dir setup
/:
[TestDir]
Dir1

/Dir1:
[Dir2]
Dir3


this works from root:
cwd [TestDir]
cwd /Dir1
cwd /Dir1/Dir3

these don't
cwd /[TestDir]
cwd /Dir1/[Dir2]

replace cwd with list -al and the same thing is true.


Just so I wasn't crazy I tried serv-u and it works file. Clearly ioftpd is doing something funky with the []'s. I have no scripts setup on cwd/list but I figured TCL's use of ['s is a likely culprit...

I should specify how it doesn't work. cwd returns an error saying the directory doesn't exist, but list is worse because ioftpd returns a successful return code, but sends 0 bytes for the directory listing itself!
Yil is offline   Reply With Quote
 

Tags
cwd, directory, returns, [testdir], []s


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 02:04 AM.

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