Transfer file from one sftp to another sftp every 5 minutes.

Advertisement

capjlp
Joined:
Posts:
2
Location:
Kentucky, USA

Transfer file from one sftp to another sftp every 5 minutes.

Hello

I have done some winscp scrpts doing daily type downloads and uploads.

I now have a task with two different third party companies that I need data from one and need to send it to another and the data is every time sensitive. Company A will create this file every 5 minutes I then need to pick it up and delivery to Company B as quickly as possible every 5 min. I was hoping I could create a script to transfer the file that will be time and date stamped file name directly two the other party. Is this possible with winscp? If not would any one have other suggestions?

Thank you

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
29,070
Location:
Prague, Czechia

Re: Transfer file from one sftp to another sftp every 5 minutes.

Server-to-server transfers are generally not possible, see:
https://winscp.net/eng/docs/faq_fxp

So you may need to download the file from Company A to local and upload it to Company B.

Reply with quote

DanielEsostato
Guest

I would like to have one form on screen with a drop down box of recipients for the user to choose from. How would this be implmented using this script?

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
29,070
Location:
Prague, Czechia

DanielEsostato wrote:

I would like to have one form on screen with a drop down box of recipients for the user to choose from. How would this be implmented using this script?
You have to code it. You cannot have the script create a GUI for you.

Reply with quote

Advertisement

You can post new topics in this forum