Copy files from Linux server to Windows server

Hi All,

I am generating report in a Linux server and once the report is generated the report(.txt file) needs to be automatically saved in a Windows servers.

So i am looking for a script to transfer the file automatically from Linux server to Windows server?

Please advise.

Thanks for the help in Advance,
Arun MNS:b:

You can setup an FTP server on the Windows server and transfer it that way
Or you can map a windows share on the Linux server and just copy it to correct folder.

1.) If you have a web server and perl on your windows server, you could run a cgi script to accept http-post request from the linux server

2.) If you have cygwin on the windows server, you could try using rsync / netcat (never tried that myself).

3.) ftp is the easiest

On the newer versions of Windows you can also mount NFS on it, exported on your linux server.