Pipeline Posted July 10, 2008 Posted July 10, 2008 (edited) So...I got a script which has to put a .htm file on the server.but it doesn't seem to work.this is the code( I know I included a FTP server + ID + PW, but I made that one to test it, and to show it to you guys, there is nothing on there.):$__ftp_hWinInetDll = DllOpen('wininet.dll') If $__ftp_hWinInetDll == -1 Then ConsoleWrite("-- ERROR FROM FTP.au3: Unable to open WinInet.dll" & @LF) $__ftp_hWinInetDll = 'wininet.dll' EndIf $username = "jorsec1" $pass = "5171405" $Open = _FTPOpen("myftp") EndIf $Conn = _FTPConnect($Open, "jorsec1@login562.freehostia.com", $username, $pass) $Ftpp = _FtpPutFile($Conn, @ScriptDir & "/index.htm", "Index.htm") $Close = _FTPClose($Open)So anyone knows whats wrong with this?I did include FTP.au3... so don't say I forgot that xDHope anyone can help me this... is madness....Madness??~Pipeline Edited July 10, 2008 by Pipeline
Zedna Posted July 10, 2008 Posted July 10, 2008 _FtpPutFile($Conn, @ScriptDir & "\index.htm", "Index.htm") Resources UDF ResourcesEx UDF AutoIt Forum Search
Pipeline Posted July 10, 2008 Author Posted July 10, 2008 Actually its still not working for me It still does not upload the file to the server :S I set a @error and everytime it gets activated. Anymore idea's? ~Pipeline
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