Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Copy Current Modify Date File from one location to one location

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.
Jam006

Copy Current Modify Date File from one location to one location

HI All,

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

Sample code

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 )

Data newpath
1.txt after run script.

Regards,
Odom