I want to move specific files from a local directory to a folder of a remote server.
The files are generated in folders inside the main directory. The names of the folders are the actual dates and inside them there are files. In some cases the names of the files are the same but they are in separate folders. For example:
\main\ \201809271020\a20180927.txt \201809271120\a20180927.txt \201809271220\a20180927.txt
I have to move all of the folders and files under the main folder to the remote location. I've tried it with WinSCP powershell module, but it works on files only. I couldn't move folders with it. Any helps appreciated.
Regards
wolfnlight