Incorrect directory names via ftp

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

Moderators: white, Hacker, petermad, Stefan2

Post Reply
dud
Junior Member
Junior Member
Posts: 2
Joined: 2018-07-09, 11:49 UTC

Incorrect directory names via ftp

Post by *dud »

When the directory name consists of two words separated by a space after connecting via FTP, you can see the name of the directory consisting of the last word. Then the directory name is bad and you can not go inside for example to browse files in this folder

On the older version of TC v8.50 it is also the case.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48075
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Which server type? On some servers, TC cannot detect spaces in names, because spaces are also used to separate columns like size, date, time, permissions etc. You can try to solve this by defining a custom server type:
1. Connect
2. Press Alt+Shift+Enter
3. Load one of the predefined types
4. Adjust it until it works with your server
5. If you have problems, post a few lines of the raw listing of your server here, especially lines with spaces in the name
Author of Total Commander
https://www.ghisler.com
dud
Junior Member
Junior Member
Posts: 2
Joined: 2018-07-09, 11:49 UTC

Post by *dud »

This is FTP server from Windows_CE 2013

Predefines types dont work but when i create this one its work perfectly :)

MM DD YY hh mm ddd SSSSSS nnnnnnnnnnnnnnnnnnnn

thx for your help
best regards
User avatar
petermad
Power Member
Power Member
Posts: 14792
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

1. Connect
2. Press Alt+Shift+Enter
3. Load one of the predefined types
Notice that the Advanced setting: "Use MLSD for directory listings" has to be disabled for this to work.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48075
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

MLSD doesn't cause this problem because the format is specified very strictly, so TC doesn't have any problems with reading names from MLSD listing.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14792
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

MLSD doesn't cause this problem
That is not what I meant - I meant that MLSD has to be disabled if you want to be able to open the "Define servertype" dialog:

from the Help:
Note: When the MLSD command is used instead of LIST, this dialog box will NOT be shown...
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48075
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Yes, but you don't even encounter the problem with MLSD, so you don't need to disable it.
Author of Total Commander
https://www.ghisler.com
Post Reply