ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

[µo°Ý] ¦p¦ó¦C¥XFTPªºÀɮײM³æ°ÝÃD½Ð¯q

[µo°Ý] ¦p¦ó¦C¥XFTPªºÀɮײM³æ°ÝÃD½Ð¯q

¥Ø«e´ú¸Õ¨Ï¥ÎFileSearch¦bFTP¥Ø¿ý¤UµLªk¦C¥X²M³æ¡A½Ð¯qµ{¦¡½X¦p¦ó­×§ï©Î¬O§_¦³¨ä¥¦¤è¦¡¥i¥H¦C¥XFTPªºÀɮײM³æ¡A«ÜÁÂÁ¤j®aªºÀ°¦£^__^

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
   
End With

End Sub
¤p«Ä

¦^´_ 1# child
·j´M¦³ Dir ªº¤º¤å ¥i¸Ñµª
·P®¦ªº¤ß......(¦b³Â»¶®a±Ú°Q½×°Ï.¥Î¤ß¾Ç²ß·|¦³¶i¨Bªº)
¦ý¸ê·½µL­­,«á´©¦³­­,  ¤@¤Ñ1¤¸ªºÃÙ§U,¤H¤H¦³¯à¤O.

TOP

        ÀR«ä¦Û¦b : ·R¤£¬O­n¨D¹ï¤è¡A¦Ó¬O­n¥Ñ¦Û¨­ªº¥I¥X¡C
ªð¦^¦Cªí ¤W¤@¥DÃD