找回密码
 加入
搜索
查看: 2127|回复: 1

[系统综合] 怎么写一个Ftp下载进度条啊,希望各位大侠帮帮忙

[复制链接]
发表于 2011-7-19 11:56:16 | 显示全部楼层 |阅读模式
#include <FTPEx.au3>
$server = '192.168.20.5'  ;服务器
$name = 'hduser'              ;用户名
$pass = '123456'              ;密码
$Open = _FTP_Open('MyFTP')  ;打开一个FTP会话
$Conn = _FTP_Connect($Open,$server,$name,$pass)  ;连接到ftp服务器
$ftp_download = _FTP_FileGet($Conn,"111\test222.txt","e:\au3_ftp\test222.txt",False)  ;下载文件(True=覆盖 False=不覆盖(默认))
MsgBox(0,"下载",$Ftp_download)
$Ftpc = _FTP_Close($Open)  ;关闭 _FTP_Open 打开的回话
发表于 2011-7-19 14:21:38 | 显示全部楼层
_FTP_ProgressDownload
这个函数
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-9-21 03:18 , Processed in 0.077083 second(s), 23 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表