Sign in to follow this  
Followers 0
Spikeedoodles

FTP Error 12003

2 posts in this topic

#1 ·  Posted (edited)

Hi all!

So I've been playing around with FTP on AutoIT (Just discovered!) and keep running into an error.  Here is the code:

$FTPIP="ftp.xxxxx.com" ;FTP IP/Hostname
$FTPUser="testuser@xxxxxxxx.com" ;FTP Username
$FTPPass="xxxxx" ;FTP Password
$FTPPort="21" ;FTP Port

$ftp=_FTP_Open ("FTPSess")
$ftpconnect=_FTP_Connect ($ftp, $FTPIP, $FTPUser, $FTPPass, $FTPPort)
_FTP_FilePut ($ftpconnect, 'WindowsUpdate.txt', '\test')
$err=_WinAPI_GetLastError()
_FTP_Close($ftp)
ConsoleWrite (@CRLF&$err&@CRLF)

I'm getting an error of 12003, which according to the MSDN is either a false positive or something with flags.  I'm not using any flags and the file isn't uploading, so that is where I'm currently stuck.  I've been searching around and really can't find anything useful, so any help is appreciated!  I'm attempting to upload to a GoDaddy hosted FTP server, if that helps at all.

Edited by Spikeedoodles

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  
Followers 0