Android Question Net FTP Connection Problems

NomeUn

Member
Hi everyone.
I have some problems with FTP.
I use FTP Commands like Download, Upload, and List and everythings works well but if I wait too much, I have connections errors.
[CODE lang="b4x" title="I have initialized the connection like this : "]
FTP.Initialize("FTP","xxx.x.x.xx",21,"xxxxxxxxxx","xxxxxxxxxxxxxxxx")
FTP.PassiveMode = True
FTP.TimeoutMs = 600000
Dim ctm As CustomTrustManager
ctm.InitializeAcceptAll
FTP.SetCustomSSLTrustManager(ctm)
[/CODE]

I have this errors :
org.apache.commons.net.ftp.FTPConnectionClosedException: FTP response 421 received. Server closed connection.
or
org.apache.commons.net.ftp.FTPConnectionClosedException: Connection closed without indication.
or
java.net.SocketException: Broken pipe


Thanks for Help
 
Back
Top