I have a requirement where I need to move the files from one server to another server
SERVER1 - Source
Files in a folder
If we above the above list of files some of the files are timestamped with date and time
and the /sample/Test1.txt and Test2, txt files are without timestamp. The timestamped files are gz need to be unzipped and renamed to Sample1.dat
So I would like to read all files daily from the above folder and copy them into a different server
SERVER2 - Destination
Can you please help me to prepare an automation script using WinSCP and complete this task.