Please, I need help:
_FTP_FindFileFirst I use the function in the following script and I get the following error:
In my home computer working properly, I tried on another computer and I get this error
Variable Array has incorrect number of subscripts or subscript dimension range exceeded.:
script used
#include <FTPEx.au3>
Local $server = 'ftp.adobe.com'
Local $username = ''
Local $pass = ''
Local $Open = _FTP_Open('MyFTP Control')
Local $Conn = _FTP_Connect($Open, $server, $username, $pass)
Local $h_Handle
Local $aFile = _FTP_FindFileFirst($Conn, "/pub/adobe/reader/win/11.x/11.0.03/es_ES/", $h_Handle)
ConsoleWrite('$Filename = ' & $aFile[10] & ' attribute = ' & $aFile[1] & ' -> Error code: ' & @error & @CRLF)
Local $FindClose = _FTP_FindFileClose($h_Handle)
Local $Ftpc = _FTP_Close($Open)
Thank you