Sign in to follow this  
Followers 0
zelles

FTPEx _FTP_DirGetContents - Download Folder

6 posts in this topic

Using the FTP FTPEx.au3 makes communicating with FTP a breeze. With great functions like _FTP_FileGet, _FTP_FilePut, and _FTP_DirPutContents, you can upload and download with ease. But what about the much needed ability to download a folder with a simple _FTP_DirGetContents function? Well I put together a function that will download a folder with ease...

_FTP_DirGetContents Function:

Func _FTP_DirGetContents($oConn, $opath, $olocal, $orec)
    If Not FileExists($olocal) Then DirCreate($olocal)
    If StringRight($opath, 1) <> "/" Then $opath &= "/"
    If $orec == 1 Then
        Local $ocurrent = _FTP_DirGetCurrent($oConn)
        _FTP_DirSetCurrent($oConn, $opath)
        Local $afolders = _FTP_ListToArray($oConn, 1)
        _FTP_DirSetCurrent($oConn, $ocurrent)
        For $o = 1 To $afolders[0]
            If $afolders[$o] == "." Or $afolders[$o] == ".." Then ContinueLoop
            If Not FileExists($olocal & "\" & $afolders[$o]) Then DirCreate($olocal & "\" & $afolders[$o])
            _FTP_DirGetContents($oConn, $opath & $afolders[$o], $olocal & "\" & $afolders[$o], $orec)
        Next
    EndIf
    Local $hFTPFind
    Local $aFile = _FTP_FindFileFirst($oConn, $opath, $hFTPFind)
    While 1
        _FTP_FileGet($oConn, $opath & $aFile[10], @ScriptDir & "\tmpdata\" & $aFile[10])
        $aFile = _FTP_FindFileNext($hFTPFind)
        If @error Then ExitLoop
    WEnd
    _FTP_FindFileClose($hFTPFind)
EndFunc

Example Usage:

#include <FTPEx.au3>

If Not FileExist(@ScriptDir & "\ftptemp") Then DirCreate(@ScriptDir & "\ftptemp")

$dir_local = @ScriptDir & "\ftptemp"
$dir_remote = "/"

Local $iOpen = _FTP_Open('MyFTP Control')
Local $iConn = _FTP_Connect($iOpen, "YourFTPServer", "YourUsername", "YourPassword")
_FTP_DirGetContents($iConn, $dir_remote, $dir_local, 1)
_FTP_Close($iConn)
_FTP_Close($iOpen)

Function Call Explanation:

_FTP_DirGetContents($oConn, $opath, $olocal, $orec)

  • $oConn: session handle as returned by _FTP_Connect.
  • $opath: The remote folder to download
  • $olocal: The local folder to download to.
  • $orec: set to 1 to download folder and subfolders. Set to 0 for non recursive.

Enjoy

1 person likes this

Share this post


Link to post
Share on other sites



Hi ,

I'm getting error in line : _FTP_FileGet($oConn, $opath & $aFile[10], @ScriptDir & "tmpdata" & $aFile[10])

 : ==> Array variable has incorrect number of subscripts or subscript dimension range exceeded.:

_FTP_FileGet($oConn, $opath & $aFile[10], @ScriptDir & "tmpdata" & $aFile[10])
_FTP_FileGet($oConn, $opath & ^ ERROR
 
Pls help !

Share this post


Link to post
Share on other sites

Put this before _FTP_FileGet and post the whole content of the console after it crashes.

ConsoleWrite("There are " & (UBound($aFile) - 1) & " available indexes for this array, you are trying to use 10.")

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

Hi ,

I'm getting this console message :

 
There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.
 
Only folders are copying as empty folders .  Files are not getting transferred :(>
Edited by ParkaviP

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

 

From the above image 26 files are there,but only transferring folders as empty.
as seen below:

post-89362-0-49231500-1421061855_thumb.p

post-89362-0-14570600-1421061867_thumb.p

Edited by ParkaviP

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

Hi ,

I'm getting error in line : _FTP_FileGet($oConn, $opath & $aFile[10], @ScriptDir & "tmpdata" & $aFile[10])

 : ==> Array variable has incorrect number of subscripts or subscript dimension range exceeded.:

_FTP_FileGet($oConn, $opath & $aFile[10], @ScriptDir & "tmpdata" & $aFile[10])
_FTP_FileGet($oConn, $opath & ^ ERROR
 
Pls help !

​Same error I got when trying to use it.

But I agree this feature would make sense to be in the FTPEx.au3 and is exactly what I am trying to do right now for a project. 

 

There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 11 available indexes for this array, you are trying to use 10.There are 5 available indexes for this array, you are trying to use 10."C:\Users\frpatrmo\Desktop\Get Map Update\FTPDirGet.au3" (19) : ==> Array variable has incorrect number of subscripts or subscript dimension range exceeded.:
_FTP_FileGet($oConn, $opath & $aFile[10], @ScriptDir & "\tmpdata\" & $aFile[10])
_FTP_FileGet($oConn, $opath & ^ ERROR
Edited by ViciousXUSMC

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Similar Content

    • Sigmac
      By Sigmac
      I have used this code for a long time, but for a week or 2 it stopped working?
      Connection is ok, the put create the file on server if I delete it on the FTP server, but the file is empty and after 30 secondees the function return 0
      I have tested on 2 machines, Filezilla FTP client have no issue to the server.
      Firewall is disabled under test.
        If $writeFTP = True Then
            $Open=_FTPOpen('MyFTP Control')
            $Conn=_FTPConnect($Open, $destinationServer, $destinationUsername, $destinationPass)
       MsgBox(0,"start","start")
            $Ftpp=_FtpPutFile($Conn, $filePath&$name&".json", "httpdocs/p_calender/" & $name & ".json")
      MsgBox(0,"return","return"&$Ftpp)
      Exit
            $Ftpc=_FTPClose($Open)
           EndIf
       
      From the Lib:
      Func _FTPPutFile($l_FTPSession, $s_LocalFile, $s_RemoteFile, $l_Flags = 0, $l_Context = 0)
          Local $ai_FTPPutFile = DllCall('wininet.dll', 'int', 'FtpPutFile', 'long', $l_FTPSession, 'str', $s_LocalFile, 'str', $s_RemoteFile, 'long', $l_Flags, 'long', $l_Context)
          If @error OR $ai_FTPPutFile[0] = 0 Then
              SetError(-1)
              Return 0
          EndIf
          Return $ai_FTPPutFile[0]
      EndFunc ;==> _FTPPutFile()
       
    • mLipok
      By mLipok
      As for now I was using such kind of snippet:
      Local $aFTP_FileList = _FTP_ListToArray($hFTPSession, 2) For $iFTPFileSize_idx = 1 To $aFTP_FileList[0] ConsoleWrite('Pobieram informacje o pliku:' & $aFTP_FileList[$iFTPFileSize_idx] ) $iWielkoscPliku = _FTP_FileGetSize($hFTPSession, $aFTP_FileList[$iFTPFileSize_idx]) ConsoleWrite($iFTPFileSize_idx & ' : ' & $aFTP_FileList[$iFTPFileSize_idx] & ' rozmiar=' & $iWielkoscPliku) Sleep(200) Next  
      But from some time my clients start buying cheap WD MyCloud NAS, and my problems starts.
      On all others NAS there is no problem (Seagate BlackArmour, QNAP, SYNOLOGY .... ).

      When on list there is for example 20 files then first two of them are very fast checked and reported they FileSize.
      After 2 files there is about 20 sec stop....... and next two files are checked with no errors but FileSize == 0 
      again there is about 20 sec stop....... and next two files are checked with no errors but FileSize == 0 
      again there is about 20 sec stop....... and next two files are checked with no errors but FileSize == 0 
      again there is about 20 sec stop....... and next two files are checked with no errors but FileSize == 0 
      again there is about 20 sec stop....... and next two files are checked with no errors but FileSize == 0 
      .......
       
      In time when I process investigation I checked how :  _FTP_ListToArray2D and _FTP_ListToArrayEx works and I was shocked that they works super fast.
       
      Here are the questions:
      Q1: Why does the problem occur only on WD MyCloud NAS?
      Q2: What is the significant difference that makes using _FTP_ListToArray2D and _FTP_ListToArrayEx to retrieve file sizes is still fast?
      Q3: Why _FTP_FileGetSize() not reporting @errors but returned FileSize = 0 
       
      Regards,
      mLipok
       
    • mLipok
      By mLipok
      In documentation for:
       
      #include <FTPEx.au3> _FTP_Connect ( $hInternetSession, $sServerName, $sUsername, $sPassword [, $iPassive = 0 [, $iServerPort = 0 [, $iService = $INTERNET_SERVICE_FTP [, $iFlags = 0 [, $fuContext = 0]]]]] ) There are two parameters for Passive:
       
      My question is: 

      What is a difference beetwen  using :
      $iPassive = 1
      and
      $iFlags =     $INTERNET_FLAG_PASSIVE
      Regards,
      mLipok
       
    • UEZ
      By UEZ
      Here a small tool I wrote to update my Sysinternal tools collection without the need to download always the whole package or visiting the site to check for updates. I know that there are several tools available (also some tools written in AutoIt) but here another one for the collection. It was good exercise for me to code it.
       
       
        
       
       
      Some files from cannot be downloaded although they are visible on the web site!
       
      Here the download link of the source code only: AutoIt Sysinternal Tools Synchronizer v0.99.1 build 2017-10-23 beta.7z  (1353 downloads previously)
      -=> Requires AutoIt version 3.3.13.20 or higher / tested on Win8.1 real machine and some VMs: Win7 / Vista / Win10
       
      Compiled exe only: @MediaFire
       
      Just select the Sysinternal Tools folder or create one and press the synchronize button to download the selected items. Click on AutoIt label (near to left upper corner) to open menu.
       
      Special thanks to LarsJ, Melba23 and mesale0077 for their help. 
       
      I've still some ideas to implement which are more gimmick related, so it is not finished yet...
      If you want to add your language please check out #Region Language. Thanks. 
       
      Please report any bug or if you have any suggestions.
       
      The language of the tool tip from each of the executable in the left list view were automatically created using Google translator and weren't checked for correctness.
       
      Br,
      UEZ
    • 9252Survive
      By 9252Survive
      Hi All, 
       
      I am fairly new to AutoIT and I am still trying to learn, I have been using _FileListToArray to list all the files with a particular extension in an array and then loop through it for operation  (   For $i = 1 To UBound($FileArray) - 1).
      So far this has been working fine. But I am not able to figure out a problem that I have; what if I have 50 files but I only want to loop through first 10 files and then next ten and so on?  Or rather I should say, how I can I only feed max 10 files to the array at a time when I do _FileListToArray regardless of the total number of files in the folder?
      Any insight/help will be much appreciated