Jump to content
Sign in to follow this  
zelles

FTPEx _FTP_DirGetContents - Download Folder

Recommended Posts

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

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

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

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  

  • Similar Content

    • By ozymandius257
      I have written a program to get files from a FTP site using _FTPEx.au3.
      I'm using the _FTP_ListToArray function to get a list of the files, and everything seems OK on 64-bit OS, but it just hangs on a 32-bit OS.
      Specifically, it is working on Windows 10 64-bit, and Windows 7 64-bit - but hanging on Windows 7 32-bit.
      A snippet of the code I'm using is...
      ;read the list of files in the directory Write_To_Log("...getting the list of files on the FTP") Local $returnarray = _FTP_ListToArray($FTPConn, 2) If $returnarray[0] = 0 Then Write_To_Log("...error reading the list of files on the FTP - no files returned") Return False Else ;see if the file was found Local $filefound = False Local $i For $i = 1 To UBound($returnarray) - 1 Write_To_Log("...found the file " & $returnarray[$i]) If $returnarray[$i] = $FTPFileName Then $filefound = True Write_To_Log("...required file found") EndIf Next EndIf Write_To_Log is a function that just writes out to a text file so I can see what's going on - it logs "...getting the list of files on the FTP" and then just hangs.
      Anyone out there can help?
       
    • By wysocki
      I have a smartphone and I use it to access my email. However, when composing an email on it I have a problem. My list of phone contacts on the phone is very different from my list of email contacts in my Thunderbird desktop app.  I use my Gmail address book to store primarily phone contacts, and I use Thunderbird for my list of email contacts. I wanted a way to get my Thunderbird contact list onto my smartphone to be able to compose emails to addresses in that list. Here's my solution.
      I wrote a script to export my Thunderbird Personal Address Book to a csv file. It then reads that file and re-writes it with html wrappers around the data to make it into a nicely formatted web page. It then uploads the htm file to my website. On my smartphone, I created a shortcut to the file's URL and whenever I click it, I get the list displayed. Each contact shows name and email address along with a COPY button that will put the address into the clipboard. Then in my email client, I can easily paste that address into it. Alternatively, clicking on the actual email link will open a new message dialog in your email client with that address already entered.
      To use the app, all you need to do is use Thunderbird and have a webserver available. You'll need to download the FTPEX.AU3 file from this website and make a few changes to some constants around line 17 for FTP login info, etc.
       
      pab2ftp.au3
    • By Dent
      The following function successfully connects to and uploads a local text file named user.dat
      I have checked the data being written to the text file when it is created locally using a MsgBox and it appears exactly how it should be written to the file. If I comment out the FileDelete and go and open the file locally it is as expected.
      However when I download the file from the FTP server and open it up the text that should be at the end of the file is missing. With each subsequent run more characters are missing.
      I added the Sleep(5000) in case the function was closing the FTP connection too quickly before the file could be fully written but it makes no difference. The user.dat file is (should be) approximately 100 bytes so it is tiny.
      Any idea why this is happening?
      Func UpdateUserData() ; Upload the modified user.dat file Local $hOpen = _FTP_Open("myftp") Local $hConn = _FTP_Connect($hOpen, "my.ftp.server", "user", "pass", 1, 0, 1, 2) If @error Then MsgBox(16, "Error", "Connection failed" & @CRLF & @CRLF & "Please contact support") _FTP_Close($hConn) _FTP_Close($hOpen) Exit EndIf _FTP_FilePut($hConn, @TempDir & "\user.dat", "user.dat") ; Upload the new user.dat file Sleep(5000) If @error <> 0 Then MsgBox(16, "Error", "Couldn't transmit data" & @CRLF & @CRLF & "Please contact support") _FTP_Close($hConn) _FTP_Close($hOpen) Exit EndIf _FTP_Close($hConn) _FTP_Close($hOpen) FileDelete(@TempDir & "\user.dat") EndFunc  
    • By Raywando
      Hello,
      This is my first post. So I’ve worked on a script for a while and I’m planning to publish it but the problem is that it connects to an FTP server at some point, and as you probably know FTP credentials are easily captured by a MITM attack or Wireshark (not sure if Wireshark does). So I thought if i can detect data capturing in the user’s network the script would stop. Any idea?.
      If there’s another workaround I’m happy to hear it. 
×
×
  • Create New...