when i use FTPConnect() return 0 and set error to -1 and i don't know what mean "-1", can someone tell me?
#include <Ftp.au3>
$server = 'my.ftp.server'
$username = 'username'
$pass = 'password'
$Open = _FTPOpen('MyFTP Control')
MsgBox(-1, "Open", $Open)
$Conn = _FTPConnect($Open, $server, $username, $pass)
If @error Then
MsgBox(-1,"eroare",@error)
EndIf
MsgBox(-1, "Connect", $Conn)
$dir = _FTPMakeDir($Conn, 'test2')
MsgBox(-1, "Dir", $dir)
$Ftpp = _FtpPutFile($Conn, @ScriptDir & "\Temp\print.prt", '\test')
MsgBox(-1, "File", $Ftpp)
$Ftpc = _FTPClose($Open)
MsgBox(-1, "Close", $Ftpc)
wehn i've run it i've check the values returned and this are: $open <>0 $conn=0 $dir=0 $Ftpp=0 Ftpc=0
here is Ftp.au3 atached Ftp.au3