Page 1 of 1
FTP-Client
Posted: 15 Feb 2007, 23:01
by PeZe
Hi there
I've created a file with a script on a Unix-Host host named
fobar\r\r
My mistake.
Is it possible, to display this special filename in the FTP-Client or would it changed allready by the list-cmd of the ftp-server?
another little wish:
If supportet by the ftp-server
chmod with the sticky bit?
Thanks for this nice Programm
Peter
Posted: 16 Feb 2007, 10:16
by Petr Solin
FTP handles names like fobar\r\r well. Backslash is allowed in Unix names, so it is no problem. When you try to copy such file to Windows, FTP prompts for changed name (backslash is not supported in Windows names), you can use Use Alternate Name command to auto-rename such names.
Sticky bit: send FTP command "site chmod +t name" ("name" is file/directory). See
http://www.altap.cz/salam_en/help/ftp/u ... ftpcmd.htm
If there are more requests we can add some command for setting/clearing sticky bit to all selected file/dirs (recursively, etc.).
Posted: 16 Feb 2007, 14:17
by PeZe
Hi Petr,
Petr Solin wrote:FTP handles names like fobar\r\r well. Backslash is allowed in Unix names, so it is no problem. When you try to copy such file to Windows, FTP prompts for changed name
...
Sorry, the "\r" means 0x0D;
The fileame was fobar0xd0xd (fobar CR CR)
When I hit copy or rename, the serverresponse was similar: no such file 550?
I'v killed this file by an crobjob
Ver 2.5RC2
Posted: 16 Feb 2007, 14:53
by PeZe
I have also found an Directory(created by mistake(tm)) with
fobar0x0D
No chance to rename or delete it with the ftp-client.
Posted: 19 Feb 2007, 14:21
by Petr Solin
Line end characters are problem because they are used as FTP command ending (CR+LF). I think that it is not possible to bypass this problem. If you find some other FTP client handling such names, please let me know.
Posted: 20 Feb 2007, 08:20
by PeZe
Petr Solin wrote:Line end characters are problem because they are used as FTP command ending (CR+LF). I think that it is not possible to bypass this problem. If you find some other FTP client handling such names, please let me know.
LeechFtp can handle it a little. Changedir with right mouse button works, also filetransfer. The filename is displayed with an trailing (black) character.
<
http://www.download.com/3000-2356-10122208.html>
Posted: 20 Feb 2007, 10:57
by Petr Solin
It seems that it's possible to handle files/directories with CR in name, but not files/directories with CR+LF in name. The patch seems not to be trivial and I think the problem is not much important, so I'm not going to patch it now.
Posted: 20 Feb 2007, 11:09
by PeZe
Full agreement.
But , maybe in SS 3.0, can you display this filenames with a "?"
Thanks, Peter