Func ftpUploadFolder($server, $name, $pass, $Port, $LocalFolder, $RemoteFolder) Local $ok = 0 $Open = _FTP_Open('MyFtp') ;打开一个FTP会话 $Conn = _FTP_Connect($Open, $server, $name, $pass, 0, $Port) ;连接到ftp服务器 $ok = _FTP_DirPutContents($Conn, $LocalFolder, $RemoteFolder, 1) $Ftpc = _FTP_Close($Open) ;关闭 _FTP_Open 打开的回话 Return $ok EndFunc ;==>ftpUploadFolder
举报
本版积分规则 发表回复 回帖后跳转到最后一页
|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度
GMT+8, 2024-12-24 07:59 , Processed in 0.077509 second(s), 22 queries .
Powered by Discuz! X3.5 Licensed
© 2001-2024 Discuz! Team.