#5210 closed Bug report (rejected)
FileZilla ignores leading space of filename
Reported by: | Rich Rarey | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | FileZilla Client |
Keywords: | leading space in filename | Cc: | |
Component version: | Operating system type: | Windows | |
Operating system version: | WINXP SP3 |
Description
version 3.3.2
CONDITIONS:
- A server has a file with a leading space in its filename.
- FileZilla's directory display parses the name, removes the leading space, and displays the filename without the leading space.
- FileZilla is then unable to correctly reference the file by name for file deletion, renaming, etc. as the leading space is "missing" from commands issued by FileZilla.
I have confirmed this behavior by deliberately creating a file with a leading space on my server, and observing FileZilla's behavior, and noting FileZilla's attempts in the server's xferlog.
A bug search showed obscure reports made about this three years ago, but not well described.
Change History (3)
comment:1 by , 15 years ago
Resolution: | → rejected |
---|---|
Status: | new → closed |
comment:3 by , 11 years ago
Replying to rrarey:
version 3.3.2
CONDITIONS:
- A server has a file with a leading space in its filename.
- FileZilla's directory display parses the name, removes the leading space, and displays the filename without the leading space.
- FileZilla is then unable to correctly reference the file by name for file deletion, renaming, etc. as the leading space is "missing" from commands issued by FileZilla.
I have confirmed this behavior by deliberately creating a file with a leading space on my server, and observing FileZilla's behavior, and noting FileZilla's attempts in the server's xferlog.
A bug search showed obscure reports made about this three years ago, but not well described.
Temporary workaround if you need to get to your files:
In the "Remote site:" field, type the directory exactly, including any leading spaces:
/Volumes/SAN/Data/Users/john/ My stuff
(note leading space above)
This will take you to the directory. You can also use psftp (from PuTTY) to modify the directory names permanently.
This happens on FTP servers not supporting the MLSD command. On those servers FileZilla falls back to LIST. Unfortunately the listing format returned by LIST is not standardized. It is impossible to distinguish leading spaces from padding.
To solve this issue, simply upgrade to a modern server supporting the MLSD command o refrain from using leading spaces.