Jump to content
Sign in to follow this  
zelles

FTPEx _FTP_DirGetContents - Download Folder

Recommended Posts

zelles

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

  • Like 1

Share this post


Link to post
Share on other sites
MadeININDIA

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
SmOke_N

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
MadeININDIA

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
MadeININDIA

 

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
ViciousXUSMC

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

    • Carm01
      By Carm01
      Hello,
      I am attempting to pull a list of the directory structure from a public FTP where no username or password is required i.e:
      ftp://ftp.adobe.com/pub/adobe/
      Now I have looked all over the place and have failed find anything to accomplish, and if I found some, and the documentation is rather bleak for example;
      it does show something I am looking for, but there is no ftp.au3, and the usage and examples of what i want to do seems to elude me on this and it may not even apply to what I am trying to accomplish?
      I want to avoid using things with Internet explorer , and I have done some google searches. However nothing seems to help
      the documentation surrounding : _FTP_DirGetCurrent  references _FTP_Connect , and then references _FTP_Open , and regardless what I try I cannot get it to pull a list of directorys of files as a list.
       
      Any help is appreciated
       
       
       
    • Jemboy
      By Jemboy
      Hi,
      Ones(some times twice) a month I get an e-mail with zip file, which has price updates from a supplier.
      I have to upload the file to an FTP to get it processed.
      When uploading the file, it will get "timestamped" with the time and date at which time the file was uploaded.
      Normally this is fine, because I mostly upload the file the same day.
      Sometimes it may take 1 or 2 days before I can upload the file.
      For historical purpose, I would like to have the file timestamped with the original date.
      I have tried using:  _FTP_Command ( $hFTPSession, "MFCT YYYYMMDDHHMMSS path") 
      however this command does not work or change the timestamp as I expected.
      Does anyone now a way how I can change the timestamp of a FTP-file?
    • Sally1801
      By Sally1801
      Hello,
      i need help in deleting files from a server. The function "_FTP_DirDelete" only deletes a directory when its empty. I need to delete a non empty directory. I also can not delete the files in this directory first, because the files are PAG and DIR files in a .DAV directory and FTPEx.au3 doesnt like a directory starting with a ".".
      Any ideas?
      Thx, Sally
    • nacerbaaziz
      By nacerbaaziz
      Hello
      Can we pause and resume the download in the InetGet function?
      If is possible, what is the solution please?
      I used this code To manage the download

      #include <INet.au3> func _downloader($name, $linc, $filepath, $RTLF = false, $link = false) global $downloader = GUICreate("downloader", 400, 200, -1, -1, $WS_CLIPCHILDREn, $RTLF, $link) global $path = $filePath $labelTxt = GUICtrlCreateLabel("downloading " & $name, 50, 10, 200, 20) global $labelTxt0 = GUICtrlCreateLabel("downloaded size 0 MB " & "OF 0 MB", 50, 60, 300, 20) global $Progress = "" global $sText = ""     For $i = 1 To Random(5, 20, 1) ; Return an integer between 5 and 20 to determine the length of the string.         $sText &= Chr(Random(65, 122, 1)) ; Return an integer between 65 and 122 which represent the ASCII characters between a (lower-case) to Z (upper-case). next global $labelTxt2 = GUICtrlCreateInput("0%", 50, 80, 50, 20) _GUICtrlEdit_SetReadOnly(-1, true) GUIStartGroup("") global $beep = GUICtrlCreateCheckBox("use the progress beep notification", 150, 120, 200, 20) GUIStartGroup("") $button = GUICtrlCreateButton("Cancel', 130, 150, 180, 25, 0x01) $iIndex = 0 global $Target global $url GUIStartGroup("") global $Progress = GUICtrlCreateProgress(50, 90, 150, 20) global $Target = $filepath global $url = $linc global $path = $filepath global $hDownloadNo = _RSMWare_GetData($url, $Target) global $status = false AdlibRegister("SetProgress") global $onprogress = false, $curent = false GUISetState(@sw_Show) While 1 Switch GUIGetMsg() Case $GUI_EVENT_CLOSE, $button $asc = MsgBox(4132,"exit download?","if you click yes the downloading will be cancel, do you want to cancel it ?") if $asc = 6 then AdlibUnRegister("SetProgress") GUIDelete() If $hDownloadNo <> 0 Then InetClose($hDownloadNo) exitLoop endIf EndSwitch if $status = -1 then $status = 0 $hDownloadNo = _RSMWare_GetData($url, $Target) $onprogress = false $curent = false elseIf $Status = 1 then $status = $path GUIDelete() AdlibUnRegister("SetProgress") exitLoop endIf WEnd return $status endFunc Func _RSMWare_GetData($url, $Target) Local $hDownload = InetGet($url, $Target, 1, 1) Return $hDownload EndFunc ;==>_RSMWare_GetData Func SetProgress() Local $state If $hDownloadNo <> 0 Then $state = InetGetInfo($hDownloadNo) If @error = 0 Then $infor = "downloaded size " & Round(Execute(InetGetInfo($hDownloadNo, $INET_DOWNLOADREAD) / 1048576), 2) & " MB of " & Round(Execute(InetGetInfo($hDownloadNo, $INET_DOWNLOADSIZE) / 1048576), 2) & " MB " $onprogress = Round(Ceiling(($state[0] / $state[1]) * 100)) if not (InetGetInfo($hDownloadNo, $INET_DOWNLOADSIZE) = 0) then if $onProgress <= 0 then $onProgress = 0 GUICtrlSetData($Progress, $onProgress) GUICtrlSetData($labelTxt0, $infor) GUICtrlSetData($labelTxt2, $onProgress & "%") if _isChecked($beep) then if $onprogress > $curent then beep((100 + $onprogress * 20), 100) $curent = $onprogress endIf endIf endIf If $state[2] Then If $state[3] Then InetClose($hDownloadNo) $status = 1 else InetClose($hDownloadNo) $status = -1 endIf endIf EndIf endIf EndFunc ;==>SetProgress
    • nacerbaaziz
      By nacerbaaziz
      Hello
      I have a query please
      It is about windows file explorer
      If i design a tool in autoit language to delete files for example
      and i  added it in the context menu in File Explorer
      If i right-click on any file And you choose the tool, it will be get the path of the selected file or folder
      The problem here is
      If i select a set of files or folders
      it only detect the first one
      The code that i  used is
      if $CMDLine[0] = 0 then
      msgBox(16, "error", "you don't selecte any files")
      exit
      else
      for $i = 1 to $CMDLine[0]
      msgBox(0, "files", $CMDLine[$i]
      next
      endIf
      exit
×