Android Question Error FTP Sent

LAZARO

Member
Licensed User
Longtime 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
Longtime 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

LAZARO

Member
Licensed User
Longtime User
Ok, I'm sorry I did not know how to post the code
About error is returning: 550 Access is denied.
 
Upvote 0
Top