kulcsarbence Posted April 7, 2012 Posted April 7, 2012 Hi! I would like to create a chat program wich uploads a file to my website and the other users this file download. But the problem is that I can not find a website where you can get FTP and I do not know how to upload files to FTP.
Developers Jos Posted April 7, 2012 Developers Posted April 7, 2012 (edited) Look at the _FTP* UDFs in the helpfile for scripting ftp file transfers. Jos Edited April 7, 2012 by Jos 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.
kulcsarbence Posted April 7, 2012 Author Posted April 7, 2012 How do I know what is my _FTP_Open('MyFTP Control') ? So what is my "MyFTP Control" ? Now I have an ftp server but I can't put files on it. #include <FTPEx.au3> $server = 'myftp' $username = 'myusername' $pass = 'mypass' $Open = _FTP_Open('MyFTP Control') $Conn = _FTP_Connect($Open, $server, $username, $pass) _FTP_FilePut($Conn, @ScriptDir & "image.jpeg", "image.jpeg") $Ftpc = _FTP_Close($Open)
Developers Jos Posted April 7, 2012 Developers Posted April 7, 2012 The name in the _FTP_OPEN() is just a name you want to use. Start checking if each function is successful by checking the returned @error. 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.
Zedna Posted April 7, 2012 Posted April 7, 2012 Look here and search forum for more examples ... Resources UDF ResourcesEx UDF AutoIt Forum Search
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