Jump to content

RadoiCatalin

Members
  • Posts

    11
  • Joined

  • Last visited

RadoiCatalin's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Yes you're right.
  2. doesn't work
  3. if the program you want to run is a script...use a temporary file or a a registry value where the program write the next name and directory; and the other scipt read the value and run the program...
  4. I use these ftp acount only for make test...and there is no problem if someone use it or ...it's a free acount. i can make many other. Please help with the problem....
  5. The Autoit Help Guide doesn't contain informations about these function... here is the real server with user and password #include <Ftp.au3> $server = 'radoi.agentimobiliar.com' $username = 'radoi.agentimobiliar.com' $pass = 'mormaici' $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)
  6. 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
  7. when i use FTPConnect() return 0 and set error to -1 and i don't know what mean "-1", can someone tell me? Ftp.au3
  8. Is there any way to make a script to upload and download using FTP protocol? If there is, tell me how...???
×
×
  • Create New...