PDA

View Full Version : Rename-bug


blubb-
08-29-2005, 12:58 PM
Hi,

I got a very annoying problem: I clicked on a folder and FlashFXP showed the rename-textfield. I didn't enter anything but pressed the enter key. FlashFXP now performed this:

[19:48:24] [R] 226 [Free: 74868MB]
[19:48:28] [R] RNFR unpacked
[19:48:28] [R] 350 File exists, ready for destination name
[19:48:28] [R] RNTO
[19:48:28] [R] 250 RNTO command successful.
[19:48:28] [R] TYPE A
[19:48:28] [R] 200 Type set to A.
[19:48:28] [R] STAT -laL
[19:48:28] [R] List Complete: 4 KB in 0,00 seconds (1,0 KB/s)
[19:48:39] [R] RNFR
[19:48:39] [R] 500 'RNFR': Command not understood.
[19:48:43] [R] RNFR
[19:48:43] [R] 500 'RNFR ': Command not understood.
[19:48:52] [R] RNFR " "
[19:48:52] [R] 550 " ": No such file or directory.
[19:48:55] [R] RNFR ""
[19:48:55] [R] 550 "": No such file or directory.
[19:49:54] [R] 226 [Free: 74868MB]

As you can see, it renamed the folder to nothing - I can't see it anymore. Neither on the FTP, nor logged in via SSH. As you can also see, it doesn't seem to be deleted as the Free space didn't get bigger. How can I fix this? The remote system is glFTPd 2.0 on Linux 2.6

thanks & cu

Hetfield
08-29-2005, 08:25 PM
Are you sure this is FlashFXP's fault? I tested it on several servers and it works for me every single time...

blubb-
08-30-2005, 01:48 AM
Hi,

could also be glftpd's fault, but where is the sense in renaming to " "?

cu

bigstar
08-30-2005, 06:36 AM
I did a couple tests and if you enter the rename and press a single space and then enter it will rename the folder to "<space>". I am going to change this behavior in the next build of FlashFXP to cancel if the filename only contains spaces.

You should be able to access the folder using the full pathname /root/parent/ /
You may need to test the actual folder name, it might be more than a single space.

blubb-
08-30-2005, 11:57 AM
Hi,

thanks for changing and helping.. The command mv " " unpacked did work. I thought I entered nothing, but it was indeed a space.

cu