Hi all, i'm a new user, and started programming with basic4android yesterday.
I try to upload a file using FTP and always get error "425 Can't open data connection" after 10 seconds on my FileZilla server. I use NET library 1.11 and have tried both PassiveMode = True and PassiveMode = False. Anyone a solution?
Code:
Dim oFTP As FTP
File.WriteString(File.DirInternal,"test.txt","xxxxxxxxxxxxxxxxxxx")
oFTP.Initialize( "FTP", ftp_servername , 21, username, password)
oFTP.PassiveMode = True -> (also tried False)
oFTP.UploadFile( File.DirInternal, "test.txt", True, "/test.txt")
I try to upload a file using FTP and always get error "425 Can't open data connection" after 10 seconds on my FileZilla server. I use NET library 1.11 and have tried both PassiveMode = True and PassiveMode = False. Anyone a solution?
Code:
Dim oFTP As FTP
File.WriteString(File.DirInternal,"test.txt","xxxxxxxxxxxxxxxxxxx")
oFTP.Initialize( "FTP", ftp_servername , 21, username, password)
oFTP.PassiveMode = True -> (also tried False)
oFTP.UploadFile( File.DirInternal, "test.txt", True, "/test.txt")