Re: Search for directories starting with some characters on server.
That's correct. Then you have to implement the recursion on your own.
Use theEnumerateRemoteFiles
instead:
https://winscp.net/eng/docs/library_example_listing_files_matching_wildcard
https://winscp.net/eng/docs/library_session_enumerateremotefiles
EnumerateRemoteFiles
instead:
Set directoryInfo = session.ListDirectory("/home/maenrol/ImagesStaging/" & strImages_Folder_Name & "*")