Solution: FTP listing came empty

Support for PocketPC and WinCE version

Moderators: white, Hacker, petermad, Stefan2

Post Reply
antoineL
Junior Member
Junior Member
Posts: 9
Joined: 2005-10-25, 08:16 UTC
Location: España

Solution: FTP listing came empty

Post by *antoineL »

First things first, many thanks to Christian to provide us such a useful tool.

I am using TC/CE 2.51 on WinMobile 5.0 and was trying to connect to a TypFTP server (français or English), without initial success, only received empty listings :(. Most strange was that I got no problem with several other clients, including Delphi's TC.

So I went to this forum, and quickly discovered the log feature; it quickly showed that the problem was that "normal" clients sent plain LIST commands, while TC/CE (or the embedded MS ftp client?) sent

Code: Select all

LIST /
to begin with; and of course I confirmed (using plain Windows/BSD ftp client

Code: Select all

ls /
command) that TypFTP was giving empty listings for this sub-command. :?

Before sending bug reports everywhere I searched harder on both forums, and I came back with this post (which indicates how turn on the "ShowHidden" feature), which said it used the

Code: Select all

LIST -la /
command instead :twisted: Look promising 8)
So I tried it, and SUCCESS :D

So probably something good to know widely, which is why I post it here (perhaps to give Christian an idea to make this feature more easily visible?)
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Indeed TC Pocket uses absolute paths in the LIST command, while Total Commander for Windows uses the combination of
cd /some/directory
LIST

The latter method is much more complex, so I implemented something easier and smaller for the PocketPC, which should be as lightweight as possible...
Author of Total Commander
https://www.ghisler.com
antoineL
Junior Member
Junior Member
Posts: 9
Joined: 2005-10-25, 08:16 UTC
Location: España

Post by *antoineL »

ghisler(Author) wrote:so I implemented something easier and smaller for the PocketPC, which should be as lightweight as possible...
Yes of course, and I agree it is mandatory to go this way.

But would it be possible to have an access in the FTP configuration UI to the ShowHidden parameter, without adding too much weight?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I will consider it, thanks for the suggestion.
Author of Total Commander
https://www.ghisler.com
Post Reply