Jump to content

Recommended Posts

Posted

Can only open ftp and connect FTP but nothing else. Tried upload and download and it does not work.

Return code is;
_FTP_DirGetCurrent ( returns  -1 )

#include <FTPEx.au3>

Local $Sesson = _FTP_Open("MyFTP")


Local $handle = _FTP_Connect($Sesson, "files.000webhost.com", "user", "pass", "", 21)

MsgBox(0,"", $handle)

$got = _FTP_DirGetCurrent($Sesson)
If @error Then
    MsgBox(0,"", @error)
EndIf

MsgBox(0,"", $got)

Tested with FileZilla Client, and no problems but with autoit nothing

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
  • Recently Browsing   0 members

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