2008-02-03 15:46:46 / Rational
用CQ实现一个功能,从FTP 上下载文件,然后去除不需要的文件后打包再放回FTP调用了http://www.chilkatsoft.com/downloads.asp的Chilkat's (Free) FTP ActiveX插件。然后写了代码:Const OREMOTE = "banben\"' 首先定义ftp的目录和帐号密码以及地址Const USERNAME = "***"Const PASSWORD = "***"Const HOSTNAME = "**"Dim sessionDim fsoDim ftpDim oIDDim oFileNameDim kehuDim banbenhaoConst local = "C:\"Set fso = CreateObject("Scripting.FileSystemObject")Set
查看(397)
评论(0)