idftp

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.

猜你喜欢

转载自www.cnblogs.com/cb168/p/10628941.html