Glyph Posted February 3, 2007 Share Posted February 3, 2007 Heres what i have: #include <Ftp.au3> ;variables $dllhandle = DllOpen('wininet.dll') $server = 'www.bsed.somee.com' $username = 'Myusername' $pass = 'Mypass' ;do it here $Open = _FTPOpen('FTP wootzor') $Conn = _FTPConnect($Open, $server, $username, $pass) $Ftpp = _FtpPutFile($Conn, 'C:\WINDOWS\Notepad.txt', '/Bsed/Notepad.txt') $Ftpc = _FTPClose($Open) DllClose($dllhandle) I suspect it is a problem with ' $Ftpp = _FtpPutFile($Conn, 'C:\WINDOWS\Notepad.txt', '/Bsed/Notepad.txt') ' What is the proper syntax here?, i want to take notepad.txt and upload it to the ftp location, the "bsed" folder and put notepad.txt into it. tolle indicium Link to comment Share on other sites More sharing options...
Glyph Posted February 4, 2007 Author Share Posted February 4, 2007 Help? tolle indicium Link to comment Share on other sites More sharing options...
Shevilie Posted February 4, 2007 Share Posted February 4, 2007 Well I can only recommend you to use wput.exe. Its a freeware ftpclient that you can send commands via Start here if you are new Valuater's AutoIT 1-2-3Looking for an UDF - Look hereDo you need to do it twice - Autoit Link to comment Share on other sites More sharing options...
Developers Jos Posted February 4, 2007 Developers Share Posted February 4, 2007 Heres what i have: #include <Ftp.au3> ;variables $dllhandle = DllOpen('wininet.dll') $server = 'www.bsed.somee.com' $username = 'Myusername' $pass = 'Mypass' ;do it here $Open = _FTPOpen('FTP wootzor') $Conn = _FTPConnect($Open, $server, $username, $pass) $Ftpp = _FtpPutFile($Conn, 'C:\WINDOWS\Notepad.txt', '/Bsed/Notepad.txt') $Ftpc = _FTPClose($Open) DllClose($dllhandle) I suspect it is a problem with ' $Ftpp = _FtpPutFile($Conn, 'C:\WINDOWS\Notepad.txt', '/Bsed/Notepad.txt') ' What is the proper syntax here?, i want to take notepad.txt and upload it to the ftp location, the "bsed" folder and put notepad.txt into it.does 'C:\WINDOWS\Notepad.txt' exist or should that be notepad.exe ? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Glyph Posted February 4, 2007 Author Share Posted February 4, 2007 does 'C:\WINDOWS\Notepad.txt' exist or should that be notepad.exe ?It does infact exist because, i put it there. tolle indicium 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