SkipVought
Programmer
I can perform an FTP for a specific file on a UNIX server.
But what if I only know a part of the path and I want to do something like...
Code:
Dim oFSO, oFolder, oFile
Dim hINetSession, hSession, sGetFile As String, sPutFile As String
sGetFile = "//prod21/i2/prod/fp/models/mach/reports/"
sGetFile = sGetFile & "build_plan/"
Set oFSO = CreateObject("Scripting.FileSystemObject")
For Each oFolder In oFSO.GetFolder(sGetFile).SubFolders
For Each oFile In oFolder.Files
Debug.Print oFile.Path
Next
Next
Skip,
Just traded in my old subtlety...
for a NUANCE!