Hi,
when i run my program i get this error:
Can someone please help me with this problem? I really dont know what the problem could be.
Here is code I am using:
Thanks!!!
when i run my program i get this error:
Log: (SocketException) java.net.SocketException: Software caused connection abort: socket write error
Can someone please help me with this problem? I really dont know what the problem could be.
Here is code I am using:
B4X:
FTP.List("ftp.name.hr")
...
Sub FTP_ListCompleted (ServerPath As String, Success As Boolean, Folders() As FTPEntry, Files() As FTPEntry)
Log("sp= " & ServerPath)
If Success = False Then
Log("Log: " & LastException)
Else
lstFiles.Items.Clear
For i = 0 To Folders.Length - 1
Log(Folders(i).Name)
lstFiles.Items.Add(Folders(i).Name)
Next
For i = 0 To Files.Length - 1
Log(Files(i).Name)
lstFiles.Items.Add(Files(i).Name)
Next
End If
End Sub
Thanks!!!