|
本帖最后由 iori2882 于 2011-9-29 18:42 编辑
#Include <FTPEx.au3>
_FTP_FileGet($l_FTPSession, $s_RemoteFile, $s_LocalFile [, $fFailIfExists = False, [ $dwFlagsAndAttributes = 0 [, $l_Flags = 0 [, $l_Context = 0]]]])
参数
$l_FTPSession 由 _FTP_Connect() 返回的会话
$s_RemoteFile 远程文件路径.
$s_LocalFile 本地文件路径.
$fFailIfExists [可选参数] True: 不覆盖存在的文件(默认 = False).
$dwFlagsAndAttributes [可选参数] 新文件的文件属性.
$l_Flags [可选参数] as in _FTP_FileOpen().
$l_Context [可选参数] A variable that contains the application-defined value that associates this search with any application data.
This is only used if the application has already called _FTP_SetStatusCallback() to set up a status callback function.
============================================================
_FTP_FileGet
真的好用么?怎么测试都不成功
Dim $name = "admin"
Dim $password = "ioriyagami"
Dim $sever = "192.168.88.4"
Dim $open = _FTP_Open($sever)
Dim $lianjie = _FTP_Connect($open, $sever, $name, $password)
$ceshi=_FTP_FileGet($lianjie,"\软件\qwer.txt","c:\")
MsgBox(0,0,$ceshi)
$ceshi怎么返回都是0
我的FTP服务器没问题的
|
|