Android Question FTP.DownloadFile

DonManfred

Expert
Licensed User
Longtime User
Why this should not work?

Upload a sample project which shows the issue.

Do you get any error?
 
Upvote 0

Ralf Schappo

Member
Licensed User
B4X:
Sub Button2_Click
    If Button2.Text="Save" Then
        File.WriteString(File.DirRootExternal, "Master.txt", EditText1.text)
        File.WriteString(File.DirRootExternal, "Group.txt", EditText3.text)
    End If
   
    If Button2.Text="ASK" Then
    Dim ftp As FTP
   
    ftp.PassiveMode=True
    ftp.DownloadFile("/" & EditText3.text & "/0.txt", False, File.DirRootExternal, "0.txt")"
   
    ftp.Close
    End If
   
End Sub

the error is a syntax - Fehler
 
Upvote 0

Ralf Schappo

Member
Licensed User
B4A Version: 7.30
Parse den Code. Error
Fehler beim Parsen des Programms:
Fehlerbeschreibung: Syntax-Fehler:
Fehler in Zeile: 261 (Main)
ftp.DownloadFile("/" & EditText3.text" & "/0.txt", False, File.DirRootExternal, "0.txt")
 
Upvote 0
Top