Arlen Posted April 29, 2017 Posted April 29, 2017 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
DKiehl Posted April 30, 2017 Posted April 30, 2017 Try changing $got = _FTP_DirGetCurrent($Sesson) to $got = _FTP_DirGetCurrent($handle) dk Arlen 1
Arlen Posted April 30, 2017 Author Posted April 30, 2017 On 4/30/2017 at 2:00 AM, DKiehl said: Try changing $got = _FTP_DirGetCurrent($Sesson) to $got = _FTP_DirGetCurrent($handle) dk Expand I feel stupid now. thanks for the help!
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now