Topic "how to create a date based folder and append a file name"

Author Message
[View user's profile]

Joined: 2008-05-27
Posts: 1
Hi,i am working on creating a back up of my files from a linux based machine. I have winscp running on my windows XP machine. This how i need to do a back

1. Automate a process to create a date based folder.
2. Use the winscp console to log into the various Linux based devices (Big IP) and get the config. ( I have managed this part of my job, as i found the script in the forum). I need to append the config that i get with the IP address of the linux machine.
3. Copy the config file from the Linux machine to the date based folder on daily bases.

Can some one help me to automate the creation of date based folders and add this into the script. also the process to append the config file.
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26890
Location: Prague, Czechia
Have you read documentation?

Also this example may give you some clue.

You can post new topics in this forum


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