Please ignore this topic!
Please ignore this topic...
I found out the issue. I was executing $session.FileExists($source) prior to calling the GetFiles function. The FileExists() method doesn't return true if the source contains files but path is a wildcard (ie. "folder/*"). As a result I removed the FileExists() method.
Thanks again,
Lee
I found out the issue. I was executing $session.FileExists($source) prior to calling the GetFiles function. The FileExists() method doesn't return true if the source contains files but path is a wildcard (ie. "folder/*"). As a result I removed the FileExists() method.
Thanks again,
Lee