Android Question FTP error

roberto64

Active Member
Licensed User
Longtime User
FTP error, it is not clear why it gives me this error "(RuntimeException) java.lang.RuntimeException: 550 SSL / TLS required on the control channel"
connection example
help Thanks.

FTP:
Dim ftp As FTP
    ftp.Initialize("FTP", "IP", 21, USER", "PASSWORD")
    ftp.PassiveMode = True
    If ftp.IsInitialized=True Then
        Log("OK FTP!") '
    End If
    
    ftp.UploadFile (File.DirRootExternal, "Camera.png", False, "/Camera.png")
 

udg

Expert
Licensed User
Longtime User
I am uploading an image from my server / host and saving it in my smartphone
My suspect was right
Use (from FTP)
DownloadFile (ServerFilePath As String, AsciiFile As Boolean, DeviceFolder As String, DeviceFile As String) As Object
You have events DownloadProgress and DownloadCompleted
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
In addition to what @udg said i suggest to get familar with the terms and how FTP works.

Your App is using the FTP-Client.
So getting anything from the FTP-Server is a DOWNLOAD.
Putting something into the FTP Server is a UPLOAD.

There is no such thing like "the server send anything". The Client REQUEST something and then the server sends the file.
But it is the CLIENT who tell the server to send something.

Download and Upload does have different Parameters. And for sure different meanings.
 
Last edited:
Upvote 0

roberto64

Active Member
Licensed User
Longtime User
hi, FTP works correctly, but now it gives me this error

as I can see I have to remove all permissions on my application and the "RuntimePermissions" library
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…