FTP-Client

We welcome any suggestions for new features or improvements in Altap Salamander. Please post one suggestion per report.
PeZe

FTP-Client

Post 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
Petr Solin
ALTAP Staff
ALTAP Staff
Posts: 1112
Joined: 08 Dec 2005, 09:13
Location: Novy Bor, Czech Republic
Contact:

Post 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.).
PeZe

Post 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
PeZe
Posts: 8
Joined: 16 Feb 2007, 14:23

Post 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.
Petr Solin
ALTAP Staff
ALTAP Staff
Posts: 1112
Joined: 08 Dec 2005, 09:13
Location: Novy Bor, Czech Republic
Contact:

Post 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.
PeZe
Posts: 8
Joined: 16 Feb 2007, 14:23

Post 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>
Petr Solin
ALTAP Staff
ALTAP Staff
Posts: 1112
Joined: 08 Dec 2005, 09:13
Location: Novy Bor, Czech Republic
Contact:

Post 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.
PeZe
Posts: 8
Joined: 16 Feb 2007, 14:23

Post by PeZe »

Full agreement.
But , maybe in SS 3.0, can you display this filenames with a "?"
:)
Thanks, Peter
Post Reply