Android Question Test FTP Connection

rafaelmotaquintana

Active Member
Licensed User
I have managed to use ftp, everything fine.
But if a user enter a bad login or password, I don't know how to retrieve a response from server indicating that connection could not be done.
As a test, I issued the command

FTP.SendCommand("PWD",FTPMainFolder)

with a incorrect user login.

the sub
Sub ftp_CommandCompleted (Command As String, Success As Boolean, ReplyCode As Int, ReplyString As String)

returns success = false (correct), but replaystring is nothing, and reply code is 0.
 
Top