Automation scripts to transfer files.

Advertisement

Salongec
Joined:
Posts:
2
Location:
United States

Automation scripts to transfer files.

I am working on a project where I have to send several files to several different offsite locations. All the reports will be pushed down to a local SFTP server and then I need to automatically transfer these files to 4 different remote SFTP servers. This is a daily and monthly occurrence. I am in need of assistance in creating a script that automates this task. Currently, I open WinSCP and individually transfer each report to the appropriate folder. I have found scripts where I should be able to do one report at a time, but I have not found anythng that will do more than one report with a different name at one time. Is this even possible?

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,454
Location:
Prague, Czechia

Re: Automation scripts to transfer files.

Salongec wrote:

I have found scripts where I should be able to do one report at a time, but I have not found anythng that will do more than one report with a different name at one time.
Just repeat the put command for every file (report).

It would help, if you post the script that you refer to. It may illustrate better, what you are trying to do. And you may get more concrete answers.

Reply with quote

Advertisement

You can post new topics in this forum