drapdv Posted January 15, 2012 Share Posted January 15, 2012 Okay, I have 8 identical computers (all the same model, all created from the same image) that are all running the same compiled script. 7 of them can connect to the ftp server via _FTP_Connect, 1 can't. So I began working on the 1 that could not connect. I can ping the ftp server from the computer just fine. It is set up the same as all the other computers, so I don't get why it can't connect. Additionally, it is supposed to return the results of _WinAPI_GetLastError() as the @extended value when it returns @error. It returns "0". So all I get is "ERR: -1, EXT: 0" from the MsgBox. Thoughts? #include <FTPEx.au3> $server = 'the ip' $username = 'username' $pass = 'password' $Open = _FTP_Open('MyFTP Control') $Conn = _FTP_Connect($Open, $server, $username, $pass, 1) If @error Then MsgBox(0, "ERROR", "ERR: "&@error&", EXT: "&@extended) $Ftpc = _FTP_Close($Open) Link to comment Share on other sites More sharing options...
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