Android Question FTP Problem

Buncher60

Member
Licensed User
I cannot get the FTP JobDone to list the files in a FTP directory.

The path is configured for FTP on the server.

I am in the directory o.k. according to the log in FTP_ListCompleted and I know there is a file there but it does not show in the Files() array.

The server is a Windows Server if that makes a difference.

Any pointers to what the problem might be would be really appreciated.
 

sorex

Expert
Licensed User
Longtime User
I don't know if there's a way to select passive mode or not in the FTP lib?

But you can try that.

Native Windows FTP server always had strange issues.
 
Upvote 0

Buncher60

Member
Licensed User
Thanks for your response sorex.

I'll try what you've suggested but my very basic understanding of passive mode is that there would need to be a listening port no. returned. There doesn't seem to be a property or method to do that. Maybe it might be handled internally.

In any case I'll let you know for future reference.
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
Upvote 0
Top