Command not understood.
But in the Windows file manager is to open the FTP server, you can see the file, also can put the files manually kao,
Then I changed my cell phone 4 g hotspot WIFI, computer even go up and then you can download, and in the customer's cable network is also available for download, is the customer not WIFI, customer also say not clear, the network administrator is did set somewhere in the network, which know what reason is this?
Is Delphi7 development environment, standard Indy control, never done updates, Jane after generation code sample is as follows:
Procedure TForm1. Button1Click (Sender: TObject);
Var
TS: TStrings;
The begin
IdFTP1. Host:='122.231.166.106';
IdFTP1. Port:=21;
IdFTP1. Username:='sp;
IdFTP1. Password:=' ';
IdFTP1. Connect; Can connect
IdFTP1. ChangeDir (" sp "); Can also change directory
TS:=TStringList. Create;
IdFTP1. List (TS); An error command not understood.
Memo1. Lines. Assign (TS);
TS. Free;
end;
CodePudding user response:
It is ok to use ics for, compatibility issues, also met, didn't delve intoCodePudding user response:
Try idFTP1. List (TS, ' ', true);CodePudding user response: