All familiar error handler.
The essence of the code is to try to connect to the FTP. And if there is no connection, then under win it works like a textbook.
And the waters under Android leads to full flight.
It happens on the line "idftp1.connect"
What could be wrong?

procedure TForm.Memo1Click(Sender: TObject); procedure conn; // советовали загнать соединение в отдельную процедуру - легче не стало Begin idftp1.connect; End; begin if idftp1.Connected = false then // на связи ли сервак? try // если нет пробуем соединиться conn; servstat.Text := 'сервер на связи'; servstat.FontColor := TAlphaColorRec.green; send.Enabled := true; except //on E: EConvertError do // ошибка соединения begin servstat.FontColor := TAlphaColorRec.Red end; 

1 answer 1

Most likely, you run the application on an unsupported version of Android.

Delphi XE8 officially supports the following versions:

 Android 5 Android 4.4 Android 4.1.x, 4.2.x, 4.3.x Android 4.0.3, 4.0.4 

Correct work on other versions is not guaranteed.

  • Everything. Problem solved, thanks. Moving to Berlin) - Pavel Zaitsev