hi good day
I'm trying to upload an image via ftp.
and the image if you upload to the server but arrives damaged.
the image if it exists in the specified directory but arrives damaged.
which may be the cause?
B4X:
Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("captura")
ftp1.Initialize("ftp1","ftp.xxxxx.com",21,"xxxxxxxxxxxxxx","xxxxxxxxxx")
End Sub
Sub Button2_Click
ftp1.UploadFile(File.DirRootExternal,"1.jpg",True,"/1.jpg")
ftp1.Close
End Sub
(As a test) Have you tried a text document to see if it arrives damaged?
Is this happening on ALL images or only certain one(s)?
Also what is the size of the image and what program are you using to open it on the server?