SaTan Posted February 11, 2009 Posted February 11, 2009 (edited) hi. #NoTrayIcon #include "ftp.au3" $server = "192.168.1.251" $username = "qd" $pass = "qd" $port="21" $Open = _FTPOpen('MyFTP Control') if @error then MsgBox(0,"_FTPOpen","OPEN ERR code "&$Open) $Conn = _FTPConnect($Open, $server, $username, $pass,$port) if @error then MsgBox(0,"Connect","Connect err code "&$Conn) $Ftpp = _FtpPutFile($Conn, 'C:\1.exe', '/test/1.exe') if @error then MsgBox(0,"PutFilep",$Ftpp) $Ftpc = _FTPClose($Open) --------------------------------------------- Return error Connect err code 0 username and pass no problem. Internet Explorer to connect FTP server no problem Please help Thanks Edited February 11, 2009 by SaTan
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now