Sub TEST()
Dim fs As Object, i%, k%
Set fs = CreateObject("Scripting.FileSystemObject")
With Application.FileSearch
.NewSearch
.LookIn = "ftp://72.8.3.1/TEST/"
.MatchTextExactly = False
.FileType = msoFileTypeAllFiles
.Filename = "*.jpg"
.SearchSubFolders = True
If .Execute > 0 Then
For i = 1 To .FoundFiles.Count
Worksheets("TEST").Cells(i, 1) = .FoundFiles(i)
Worksheets("TEST").Cells(i, 2) = fs.GetFile(.FoundFiles(i)).DateLastModified
Next i
End If