Automatic transfert from windows to unix machine

Hello, I am looking for an easy way to set up automatic file transfert from windows to unix machine
cismoneyAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
TomuniqueConnect With a Mentor Commented:
install putty on your windows machine
run puttygen to build a set of public/private keys
save public key on your unix machine's userid in it's $HOME/.ssh/authorized_keys file
   Perms become picky here... ensure all directoires from / all the way to the .ssh directory do NOT have write perms for group or other. (same with authorized_keys file).


on windows box, run

pscp  c:\windowspath\file   unixuserid@unixhostnameorip:/unixpath/to/savethefile

Using ssh-keys are far more secure than any password solution.
99% of the other solutions are going to have you store a clear-text password in a script.
using ssh-keys you do need to protect your private key, but, the public key could be posted on the internet, nobody can use it without the private counter-part.

Tom

0
 
Neil RussellTechnical Development LeadCommented:
Define Automatic? Hourly? Weekly? When files change? please expand

rdist
0
 
cismoneyAuthor Commented:
daily
0
Take Control of Web Hosting For Your Clients

As a web developer or IT admin, successfully managing multiple client accounts can be challenging. In this webinar we will look at the tools provided by Media Temple and Plesk to make managing your clients’ hosting easier.

 
cismoneyAuthor Commented:
sorry  automatic :when files changes (updates...)
0
 
RingthaneConnect With a Mentor Commented:
I use the following:

1) Perl script on Windows (looping, sleeping 60 secs) checking for modified files. If so, copy it to a directory on a Unix system using FTP for a restricted user.

2) Perl script on Unix (started by cron, every minute) checking if files arrived in the directory, if so copy them to the right spot.
0
 
cismoneyAuthor Commented:
can you post the script please
0
All Courses

From novice to tech pro — start learning today.