Jump to content

FTP, i'm so lost with "_FTPOpen"...


Glyph
 Share

Recommended Posts

#include <Ftp.au3>
$server = 'www.bsed.somee.com'
$username = 'example'
$pass = 'example'

$Open = _FTPOpen('MyFTP Control')
$Conn = _FTPConnect($Open, $server, $username, $pass)
$Ftpp = _FtpPutFile($Conn, 'C:\WINDOWS\Notepad.txt', '/bsed/notepad.txt')
$Ftpc = _FTPClose($Open)

what the heck is " $Open = _FTPOpen('MyFTP Control') " ?

MyFTP Control? what should this be replaced with, i'm not sure of FTP controls Oo...

Thanks for reading, and helping if you do help.

tolle indicium

Link to comment
Share on other sites

$Open = _FTPOpen('MyFTP Control')

it is nothing to worry about, it is just for you to know what it does when you look at the code.

you can replace it by a name of your choice or leave it like this.

Edited by Pakku
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...