Dear Erel,
I am encountering a problem while uploading a file from emulator. Here below the error code.
BTW, how could i know whether ftp has been connected or not? I use the following code. Please confirm whether it is correct or not.
I am encountering a problem while uploading a file from emulator. Here below the error code.
java.lang.RuntimeException: Error uploading file.
500 I won't open a connection to 10.0.2.2 (only to 92.253.4.198)
BTW, how could i know whether ftp has been connected or not? I use the following code. Please confirm whether it is correct or not.
B4X:
If ftp1.PassiveMode=False Then
'lv.AddSingleLine(ftp1.List("\home"))
ftp1.List("/")
ToastMessageShow("Connceted.",True)
Else
ToastMessageShow("Could not conncet to the server.",True)
End If