The begin
If dlgOpen_File. Execute then
The begin
Idftp_Client. TransferType:=ftBinary;
Idftp_Client. Put (dlgOpen_File FileName, AnsiToUtf8 (ExtractFileName (dlgOpen_File. FileName)));
ChageDir (Utf8ToAnsi (idftp_Client RetrieveCurrentDir));
The end;
The end;
FTP is connected, is always an error when uploading: Opening the ASCII mode data connection
CodePudding user response:
Transmission type is not correct, text type with ftASCII, other applications, multimedia files, compressed files, such as using ftBinary,CodePudding user response:
Yes, FTP is very simple, is full of the DEMOCodePudding user response:
Idftp_Client. TransferType:=ftBinary;To ftASCII