Android Question FTP file upload unknow command PORT

Sergio83

Member
Licensed User
Longtime User
Hello everybody,

I'm currently trying to upload a file from a B4A app with the NET library FTP client to another B4A app running the FTPserver class writen by Erel.

The transfer failed (sucess=false when the "FTP_UploadCompleted" event is fired ) and the last exception message states: the command "PORT" is unknown.

Indeed in the FTPClient class the routine which parses the client's command does not undertake the PORT command (the exception is returned by the "case else" in the "HandleClientCommand" routine)

My FTP server based on the Erel class works perfect with à standard FTP client (smartftp for example).

Does anybody have an idea about what's happening?

Thanks by advance for your help

Regards
 
Top