No FTP list parsers have been registered
use IdAllFTPListParsers
IdFTP1.List(LS);
中文目录乱码
idftp2.List(v_filelist,'',False); //这样写防止中文乱码。第三个参数必须为False
//IdFtp2.IOHandler.DefStringEncoding := TEncoding.ANSI;
IdFTP1.IOHandler.DefStringEncoding := IndyTextEncoding_OSDefault;// tencoding.Default;
The system cannot find the file specified.