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?
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
Last edited: