Automated file copy from Linux server to Windows box

I have a FC5 Linux machine that runs a shell script daily to pull backup files from a remote Linux web server. This is all the machine does. It is rather old and the file system is starting to randomly crash so the daily transfer fails due to the root volume dropping into read-only protected mode. Since I have to manually move the files periodically to a windows server anyway I need to run a scheduled script on the WIndows machine to pull the files from the web server directly. A cron job on the web server creates the daily backup files and stages them in a directory for transfer. The local Linux box that is failing runs the following shell script that lives in /etc/cron.daily and uses an rsa key for login vaidation, which I don't know much about:

scp -i /home/localuser/my-auth/id_rsa -pr* /staging/data_backup/.
chown root:root /staging/data_backup/*

Can I run Winscp in command line or in some other way to do the same thing to bring the files directly to the Windows box?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Yes, but you'll want to get "PSCP" from the putty software:

the syntax on PSCP is same as SCP

NozmokingAuthor Commented:
Thanks - since the Linux box uses rsa keys for login credentials on the remote server, can I copy them to the Windows machine and reference the same keys in the script? I haven't dealt with this type of unattended authentication before.

You need to generate the keys on the windows system and copy the  public keys to each machine.

Please see the links below:

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
NozmokingAuthor Commented:
Got it - that's what I was looking for.

Thanks very much!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.