Arlen Posted April 29, 2017 Share 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 Link to comment Share on other sites More sharing options...
DKiehl Posted April 30, 2017 Share Posted April 30, 2017 Try changing $got = _FTP_DirGetCurrent($Sesson) to $got = _FTP_DirGetCurrent($handle) dk Arlen 1 Link to comment Share on other sites More sharing options...
Arlen Posted April 30, 2017 Author Share Posted April 30, 2017 2 hours ago, DKiehl said: Try changing $got = _FTP_DirGetCurrent($Sesson) to $got = _FTP_DirGetCurrent($handle) dk I feel stupid now. thanks for the help! Link to comment Share on other sites More sharing options...
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