Sign in to follow this  
Followers 0
kulcsarbence

Chat program - FTP ?!

5 posts in this topic

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.

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Look at the _FTP* UDFs in the helpfile for scripting ftp file transfers.

Jos

Edited by Jos

Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

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)

Share this post


Link to post
Share on other sites

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.


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

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