Jump to content
Sign in to follow this  

need help Ftp Script not work

Recommended Posts




#include "ftp.au3"

$server = ""

$username = "qd"

$pass = "qd"


$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


Edited by SaTan

Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this