WinSCP cannot copy a local file to another local location. That's not what WinSCP is for.
WinSCP is a tool to transfer files between local and remote machines.
I want to copy today file(based on created date of file) from one location to one location via Winscp Script.
But i want to copy only today file(1.txt) in folder oldpath to newpath
copy C:\oldpath\* D:\newpath
Data in old path:
1.txt (Created date file on 12-07-2017 =today)
2.txt (Created date file on 11-07-2017 )
3.txt (Created date file on 11-07-2017 )
1.txt after run script.