Opened 23 years ago
Last modified 23 years ago
#16 closed Bug report
directory beginning with space
Reported by: | franck-fr | Owned by: | Tim Kosse |
---|---|---|---|
Priority: | low | Component: | Other |
Keywords: | Cc: | franck-fr, Tim Kosse | |
Component version: | Operating system type: | ||
Operating system version: |
Description
Hello,
Using Filezilla 1.4 on windows 2000 SP2:
I tried to enter in a directory called " mydir" (the
name begin with a space).
But Filezilla report it as "mydir", and I cannot enter
in it (I stay in the current directory).
I created a directory called " " (=space) to check.
while refreshing (F5 key): one time the directory
appears without the " " entry. At next refresh no more
entries appear (directory appears empty) !
Otherwise Filezilla is nice...
Regards,
Change History (3)
comment:1 by , 23 years ago
comment:2 by , 23 years ago
Hmmm, it seems you are right. I cannot create directories
with a name starting with a space under win2k.
I have (soon 'had') such directories under my linux box.
However, maybe having the possibility to browse such
directories or at least reporting an error (to avoid simply
missing them while replicating a whole directory structure)
would be nice.
Anyway thanks for your quick answer.
Regards,
comment:3 by , 23 years ago
FTP servers report the directory contents similar to the
UNIX dir command, with spaces separating the columns. Since
different FTP servers use a different number of spaces to
seperate the columns, FileZilla has to skip all preceeding
spaces in filenames. However, detecting spaces at the end
of a filename should work, but you will get problems when
you want to download those files.
Just avoid spaces in front of and at the end of filenames
and everything should work.
Directory and file names may not start or end with a space,
else they would be invalid and cause problems with
FileZilla and a lot of other programs.