Depeniding upon the servers connectivertiy, then SSH could be one of your best answers.
Using rscync, the you can pull the files or directories through from the red hat server or even push them to the Windows server.
NAME
rsync - a fast, versatile, remote (and local) file-copying tool
SYNOPSIS
Local: rsync [OPTION...] SRC... [DEST]
Access via remote shell:
Pull: rsync [OPTION...] [USER@]HOST:SRC... [DEST]
Push: rsync [OPTION...] SRC... [USER@]HOST:DEST
Access via rsync daemon:
Pull: rsync [OPTION...] [USER@]HOST::SRC... [DEST]
rsync [OPTION...] rsync://[USER@]HOST[:PORT]/SRC... [DEST]
Push: rsync [OPTION...] SRC... [USER@]HOST::DEST
rsync [OPTION...] SRC... rsync://[USER@]HOST[:PORT]/DEST
Usages with just one SRC arg and no DEST arg will list the source files
instead of copying.
Source: http://linux.die.net/man/1/rsync
so simple example:
dan@dan-ThinkPad-T410s:~/Pictures$ rsync -rv /home/dan/Downloads/ /home/dan/Pictures/
this copies all the information recusivly in my Downloads folder to my Pictures folder. This is the same principle when coping remotley.
This may allow you to move the files from one server to another.
if you wanted to open the channel from the server side, then you could use a program like putty, to open the the ssh chanel from the SQL server
(official site of putty: http://www.putty.org/)
from here you can simply use your script to read and write the information to the database.
I hope this helps :)