Re: Copy/compare folder
There's no magic way to implement such special task.
You have to write a script that identifies the folders you are looking for.
It is easy e.g. with PowerShell and WinSCP .NET assembly.
https://winscp.net/eng/docs/library_powershell
Use:
-
-
-
https://winscp.net/eng/docs/library_session_listdirectory
https://winscp.net/eng/docs/library_session_fileexists
https://winscp.net/eng/docs/library_session_getfiles
You have to write a script that identifies the folders you are looking for.
It is easy e.g. with PowerShell and WinSCP .NET assembly.
https://winscp.net/eng/docs/library_powershell
Use:
-
Session.ListDirectory
to enumerate all folders
-
Session.FileExists
to check an existence of the - 02 -
subfolder
-
Session.GetFiles
to download them
https://winscp.net/eng/docs/library_session_listdirectory
https://winscp.net/eng/docs/library_session_fileexists
https://winscp.net/eng/docs/library_session_getfiles