ftp error

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
msiivola
Junior Member
Junior Member
Posts: 20
Joined: 2003-05-14, 19:24 UTC
Location: Finland

ftp error

Post by *msiivola »

When in the remote computer the directoryname begins with space, ftp rips the space away, presenting the directory but does not allow seeing its content (which seems to be understandable because such directoryname does not exist in the remote computer).

When trying to synchronize directories, TC thinks that the remote computer does not have the directory in question at all, and in the asymmetric mode wanting to delete the local directory.

Image: http://siivola.org/TC/inaccessible%20ghost%20dir%20on%20the%20left%20side.png

Image: http://siivola.org/TC/synchronize%20error.png
Sob
Power Member
Power Member
Posts: 945
Joined: 2005-01-19, 17:33 UTC

Post by *Sob »

Confirmed. It happens only when server does not support new MLSD listing and uses old LIST command.

With listing like this (the space in " test2" is there):

Code: Select all

drw-rw-rw-   1 user     group           0 Aug 06 16:30 test1
drw-rw-rw-   1 user     group           0 Aug 06 16:43  test2
TC cuts the space and shows directory as "test2". With MLSD it works correctly.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50531
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

This happens because spaces are used to separate the variuos parts of the file details from each other. If the server doesn't identify itself as Unix, then TC uses auto-detect mode to find the various parts. In this mode, it's not possible to detect spaces at the beginning.

Solution: Define your own custom server type via Ctrl+F - Edit connection. You can use Unix as a template.
Author of Total Commander
https://www.ghisler.com
Post Reply