Delphi indy控件 FTP获取目录时IdFTP1.DirectoryListing.count=0
来源:互联网 发布:手机上怎么开通淘宝 编辑:程序博客网 时间:2024/06/07 01:11
TIdFTP.DirectoryListing is returning nothing for my FTP server. Why? [/red]
We restructured the way FTP directory listing is done. The code is now a plug in system with various parsers in their own units which register themselves into a framework. To add support for a particular type of FTP server, you simply add the parser unit to one of your program unit's uses clause.
To add the Unix directory list parser, add IdFTPListParseUnix to your unit's clause. To add support for Microsoft Windows NT IIS FTP server, add IdFTPListParseWindowsNT to your uses clause. You can also add many other parsers we include in the Indy packages. By convention, they are named IdFTPListParser followed by the server type. You do not need to add IdFTPListParseBase to your uses clause because IdFTP uses that unit. If you wish to use all of Indy's FTP List parser classes, just add the IdAllFTPListParsers unit to your uses clause.
We admit this new design is not as intuitive as the older one but this has many advantages for us such as:
· The FTP list parsing code is now much easier to maintain than the same code in a non-modular design in one unit which would be at least 150KB total.
· You now can add support for only the FTP servers you want your program support to support.
· You can now write your own custom parser classes and plug those into the standard FTP parsing list framework.
这是在国外网站上发现的
只需Uses IdFTPListParseWindowsNT,IdAllFTPListParsers 这两个单元就可以了
- Delphi indy控件 FTP获取目录时IdFTP1.DirectoryListing.count=0
- delphi中利用Indy的TIdFtp控件实现FTP协议
- delphi中利用Indy的TIdFtp控件实现FTP协议
- INDY 10TIdFTP中的DirectoryListing使用。
- 用Indy实现FTP客户端(delphi)
- DELPHI超级Internet控件集--INDY
- DELPHI超级Internet控件集--INDY
- DELPHI超级Internet控件集--INDY
- DELPHI超级Internet控件集--INDY
- DELPHI超级Internet控件集--INDY
- delphi indy控件 idsmtp 邮件发送 gmail
- DELPHI超级Internet控件集--INDY
- delphi indy控件 idsmtp 邮件发送 gmail
- Delphi 中Md5获取(Indy 9)
- Delphi 中Md5获取(Indy 9)
- 利用Indy的TIdFtp控件实现FTP协议 for http://www.cittm.net/Article/sheji/delphi/200601/1227.html
- Delphi 用IdFtp控件实现ftp的全目录下载
- 在delphi中用indy实现FTP上传 下载的例子
- Unity3D四步解决高级脚本编译
- CSS绑定js脚本
- 32位和64位系统区别及int字节数
- VS如何创建和使用lib文件
- C++类成员的初始化
- Delphi indy控件 FTP获取目录时IdFTP1.DirectoryListing.count=0
- 手动搭建ssh框架
- 深度挖掘:Oracle RAC数据库架构分析与实战攻略
- jquery zTree 入门,从后台获取数据
- objective-c中获取时间的方法
- ios学习之 点击屏幕任何地方隐藏键盘实现 目前感觉最好用的
- 走! 我们一起去看看指针(二)
- 关于归并排序的算法优化策略
- Linux命令、编辑器与Shell编程