ftp的有关问题。。。。(200分)

  • 主题发起人 主题发起人 hfjacklee
  • 开始时间 开始时间
H

hfjacklee

Unregistered / Unconfirmed
GUEST, unregistred user!
delphi5可以做到ftp上传数据建立目录及下载数据么??如何实现?有源程加高分!
还有如何自动压缩paradox库及自动解压paradox库??最好是dll...
 
用NMFTP控件。
NMFTP1.Host:='Ftp.xxx.xxx.net';
NMFTP1.Port:= 119;
NMFTP1.UserID:='userid';
NMFTP1.Password:='password';
NMFTP1.Connect;
NMFTP1.MakeDirectory('newDir');
NMFTP1.ChangeDir('newDir');
NMFTP1.Upload('LocalFile','RemoteFile');
NMFTP1.Download('RemoteFile','LocalFile');
够用了吧
 
如果一切ok我就回来加分!谢了
 
看demo里的fastnet吧
不过你趁早用indy吧
 
请问indy是什么??
 
NMFTP有问题,特别是在D5下.如果你要用你要有思想准备和这些bug作斗争.
最记得的是文件上传和下载结束它的返回结果是一样的.
 
What Is Indy

Internet Direct (Indy) - An open source internet component suite comprised of
popular internet protocols that is included in both Delphi 6 and Kylix.
Both client and server implementations are included as well as full source code
and comprehensive demos

Indy is an open source internet development library for the Borland product
line which is based completely on blocking sockets. The Client components are
easy to use because you write your transactions in a sequence and the servers
are multithreaded.

Indy8 在
http://www.nevrona.com/Indy/download80.html
 
后退
顶部