Search the Community
Showing results for tags '_FTP_ListToArrayEx'.
-
I am having a very weird problem with this function and I looked at it for a while and finally went back to the example given in the UDF. That is doing weird things as well. At least for me. First, I just (yesterday) downloaded and updated my Autoit software. So I have the latest and greatest package. My system has tons of memory and - for the most part - seems to functioning properly (unless I write some weird script). So anyway.... Here is the example script given by the CHM: #include <FTPEx.au3> #include <Array.au3> Local $server = 'ftp.csx.cam.ac.uk' Local $username = '' Local $pass = '' Local $Open = _FTP_Open('MyFTP Control') Local $Conn = _FTP_Connect($Open, $server, $username, $pass) Local $aFile = _FTP_ListToArrayEx($Conn, 0) _ArrayDisplay($aFile) Local $Ftpc = _FTP_Close($Open) This comes back with all of the information showing. This is great - right? Yes! It is! But you are also supposed to be able to set that number to one(1) or two(2) for just directories or just files. But when you do - you get nothing back. I think that's a problem. :-/ Now! To make matters worse. If I run the above code against my website I get:the first image. But if I copy/paste the above code into MY program and run it I get the second image. And if I change that zero(0) to a one(1) or a two(2) I get the third image. I also get the third image if I change the original program to using one or two as well. It does this on the original UK site as well. If I turn on passive move then everything is always zero (or no entries). Ideas?