Android Question Error FTP Sent

Discussion in 'Android Questions' started by LAZARO, May 4, 2019.


    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")
    Msgbox("Order not shipped","Error")
    End If
  2. DonManfred

    DonManfred Expert Licensed User

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


    2. Use LOG instead of MsgBox
    3. What is the last exception in case of Success is false? Add a
    Erel likes this.

    LAZARO Member Licensed User

    Ok, I'm sorry I did not know how to post the code
    About error is returning: 550 Access is denied.
  4. Erel

    Erel Administrator Staff Member Licensed User

    Make sure to set PassiveMode to true to avoid all kinds of network issues.
    Johan Hormaza likes this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice