Jump to content

Chat program - FTP ?!


Recommended Posts

  • Developers

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

Jos

Edited 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.
  :)

Link to comment
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)
Link to comment
Share on other sites

  • Developers

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.
  :)

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...