I'm trying to use function _FTP_FindFileFirst, but I'm not having any luck. I'm using the example code from the AutoIt Help. I've searched the forums with no success on finding an answer. I keep getting "$Filename = . attribute = 16 -> Error code: 0" for my results
If anyone could help me, I'd really appreciate it.
Thanks
[ autoit ]
#include <FTPEx.au3> Local $server = 'ftp.*****.com' Local $username = '*****@*****.com' Local $pass = '*****' Local $Open = _FTP_Open('MyFTP Control') Local $Conn = _FTP_Connect($Open, $server, $username, $pass) Local $h_Handle Local $aFile = _FTP_FindFileFirst($Conn, "/", $h_Handle) ConsoleWrite('$Filename = ' & $aFile[10] & ' attribute = ' & $aFile[1] & ' -> Error code: ' & @error & @CRLF) Local $FindClose = _FTP_FindFileClose($h_Handle) Local $Ftpc = _FTP_Close($Open)
If anyone could help me, I'd really appreciate it.
Thanks