Topic "Keep the different versions of the same file"

Author Message


Can anybody help me on this:

There is one job, which is running daily 3 times, after completing the job there would be an Out file (ex., Temp.txt) generates every time on one of Directory.
That means there were 3 same files generating daily (let us take the files names like., Temp_2011_02_11_05_40.txt, Temp_2011_02_11_07_30.txt and Temp_2011_02_11_10_40.txt)

Requirement is, i need to maintain only 6 version of the Temp file on the Directory.

Let me know the logic how we accomplish this task.

[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24736
Location: Prague, Czechia
If you combine techniques described in example below, you should be able to achieve what you need.
Martin Prikryl

You can post new topics in this forum

Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License