Sign in to follow this  
Followers 0
Glyph

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

2 posts in this topic

#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

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

$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

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