Android Question Error FTP Sent

LAZARO

Member
Licensed User
Does anyone know why I can not send file via FTP?
I've done all the tests: on another system I can send the file exists, I can log in, the host folder exists. I just can not complete it because it always returns Sucess = False

Here's the code below:

FTP.UploadFile(File.DirInternal, "ORDER.TXT", True , "/FOLDER")
Wait For FTP_UploadCompleted (ServerPath As String, Success As Boolean)
If Success Then
Msgbox("Request sent successfully !!!","Ok")
ProgressDialogHide
Else
Msgbox("Order not shipped","Error")
ProgressDialogHide
End If
 

DonManfred

Expert
Licensed User
1. Please use [CODE]code here...[/CODE] tags when posting code.

codetag001.png

codetag002.png

codetag003.png


2. Use LOG instead of MsgBox
3. What is the last exception in case of Success is false? Add a
B4X:
Log(LastException)
 
Upvote 0
Top