empty ftp directory

Support for PocketPC and WinCE version

Moderators: Hacker, petermad, Stefan2, white

dimeotane
New Member
New Member
Posts: 1
Joined: 2006-07-25, 15:27 UTC

empty ftp directory

Post by *dimeotane »

:(
I love TC pocket... it's awesome.

I've having problems with FTP however.

With tripod.com everything works great. But with fsphost.com for example the directory listing shows up empty after login, and when I transfer a file to the FTP server it isn't recieved correctly. Is this a bug or am I doing something wrong?
User avatar
Flint
Power Member
Power Member
Posts: 3498
Joined: 2003-10-27, 09:25 UTC
Location: Belgrade, Serbia
Contact:

Post by *Flint »

Try to use passive mode.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 11.03 / Win10 x64
kusbainian
Junior Member
Junior Member
Posts: 2
Joined: 2006-09-08, 21:24 UTC

no Listing using GuildFTPd

Post by *kusbainian »

I've got a very similar problem ...

I am running a FTP Server GuildFTPd, after connecting to it I am unable to view the directory listing. I have no problem connecting to the server from other clients (DOS, SmartFTP, or Total Commander for Desktop).

Things I have tried:
- Every permutation of Passive/non passive connection on both the PPC and the Server.

- I thought perhaps GuildFTPd is considered an "Exotic" server so I used a template using TotalCommander for the desktop:
[GuildFTPd]
Template1=pppppppppp !S* TTT DD UUUUU n*

Still no luck in getting a display on the PPC.

Well here is log from TotalCommander running in Passive mode:
09/08/06 17:40:29: Resolving server address...
09/08/06 17:40:29: Connecting...
09/08/06 17:40:29: Connect, waiting for login...
09/08/06 17:40:30: 220-********* FTP Server
09/08/06 17:40:30: 220-
09/08/06 17:40:30: 220-
09/08/06 17:40:30: 220-Connecting from: .
09/08/06 17:40:30: 220-Connection time: 17:36:54.
09/08/06 17:40:30: 220-
09/08/06 17:40:30: 220-If you are not authorized to use this service, discontinue this connection.
09/08/06 17:40:30: 220-Your actions are being logged and montiored.
09/08/06 17:40:30: 220-
09/08/06 17:40:30: 220 Please enter your name:
09/08/06 17:40:30: Logging in...
09/08/06 17:40:34: USER *********
09/08/06 17:40:34: 331 User name okay, Need password.
09/08/06 17:40:37: PASS *****
09/08/06 17:40:38: 230-************
09/08/06 17:40:38: 230-
09/08/06 17:40:38: 230-Server has been up for 36 days, 7 hours, 23 minutes, 44 seconds
09/08/06 17:40:38: 230-There is 1301 MB available.
09/08/06 17:40:38: 230-
09/08/06 17:40:38: 230-************
09/08/06 17:40:38: 230-
09/08/06 17:40:38: 230 User logged in.
09/08/06 17:40:38: Connect ok!
09/08/06 17:40:38: SYST
09/08/06 17:40:38: 215 UNIX Type: L8 Server
09/08/06 17:40:38: get directory...
09/08/06 17:40:38: TYPE A
09/08/06 17:40:38: 200 Type set to A.
09/08/06 17:40:38: PASV
09/08/06 17:40:38: 227 Entering Passive Mode (***,***,***,***,78,32)
09/08/06 17:40:38: LIST /
09/08/06 17:40:38: 150 Opening ASCII mode data connection for /bin/ls (0 bytes).
09/08/06 17:40:38: Download
09/08/06 17:40:38: Waiting for server...
09/08/06 17:40:38: 226 Transfer successful.
09/08/06 17:40:38: CONNECT \*********\
09/08/06 17:40:41: DISCONNECT \*********
09/08/06 17:40:41: QUIT
09/08/06 17:40:41: 221 Goodbye. Control connection closed.
09/08/06 17:40:41: OFFLINE!

After looking at the log I think it might have to do something with the "150 Opening ..." line it comes back with 0 bytes. But I am unsure, and dont know how to resolve this. I've checked numorus post but was unable to find a solution. Any suggestion would be greatly appretiated.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 49100
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Difficult to say - it could really be the "0 bytes" report from the server, so TC/CE assumes that the listing is empty. I will try to find out what happens when I find the time to install that server...
Author of Total Commander
https://www.ghisler.com
User avatar
dusan
Junior Member
Junior Member
Posts: 15
Joined: 2003-04-04, 15:10 UTC
Location: Slovakia

Post by *dusan »

Hi

I had also the same problem connecting to another FTP server via TC. After disabling firewalls on both sides, it was working OK.
With the firewalls set to ON on FTP server side, I've got empty list only.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 49100
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Try to allow ports 1024-65535 incoming on ftp server side for the ftp server, otherwise no passive mode connection will be possible. Or better, use a firewall which supports stateful packet inspection. It will see the ftp requests, and automatically open the right ports.
Author of Total Commander
https://www.ghisler.com
kusbainian
Junior Member
Junior Member
Posts: 2
Joined: 2006-09-08, 21:24 UTC

Post by *kusbainian »

Alas the solution of disabling the firewall on the server did not work for the GuildFTPd server, still the empty list. And if I am mistaken there is no default software firewall installed on the PPC.

Reguardless I am not sure if that is the solution for this case since Pocket Internet Explorer & ftpView are both able to display the list.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 49100
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Sorry, I have no other ideas of what could be wrong.
Author of Total Commander
https://www.ghisler.com
bluesgeek
Junior Member
Junior Member
Posts: 5
Joined: 2006-11-18, 11:37 UTC

Post by *bluesgeek »

I am having this issue too. No firewall. Passive mode. I seem to be able to read and write to some folders only.

I'm connecting to a Mac running PureFTP.
bluesgeek
Junior Member
Junior Member
Posts: 5
Joined: 2006-11-18, 11:37 UTC

Post by *bluesgeek »

I am able to see directory contents with other FTP clients.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 49100
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Can you post a log of both Total Commander Pocket and your other client? I don't see any reason why it should work with other clients and not TC/CE...
Author of Total Commander
https://www.ghisler.com
bluesgeek
Junior Member
Junior Member
Posts: 5
Joined: 2006-11-18, 11:37 UTC

Post by *bluesgeek »

I will try. The other clients are Resco, which as far as I can see has no logging; and vxFTP, which will supports scripting to log (but I can't figure out how to write the script for it). :oops:

The TC log was easy enough to find. I'll be back in a couple days if I can figure it out.

Thanks very much for your help. :D
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 49100
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

You can already post the TC/CE log, perhaps it's sufficient to find the problem...
Author of Total Commander
https://www.ghisler.com
bluesgeek
Junior Member
Junior Member
Posts: 5
Joined: 2006-11-18, 11:37 UTC

Post by *bluesgeek »

Sent to you via support. Thanks.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 49100
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks very much! Unfortunately your server doesn't support paths with spaces in the LIST command. Therefore there is no chance to use Total Commander Pocket for FTP with your server.

I guess that the other ftp clients use "change directory" commands instead of absolute paths. This is a completely different approach (used e.g. by Total Commander for Windows) which cannot be used with the plugin interface of Total Commander Pocket.
Author of Total Commander
https://www.ghisler.com
Post Reply