how i can write bash file to copy files from unix box to windows "remotly" box by sftp command ???
|
feedback
|
|
For automated scripts, try scp or rsync. from "man sftp":
also look at http://www.computing.net/answers/unix/automated-sftp-script/7006.html | ||||
feedback
|
|
The cURL php extension for windows supports sftp. You should try to find a php script that you can place on the windows server and add to scheduled jobs. Wouldn't be too hard to create your own either. I'm sure python and .net have support for sftp as well. Or, you could install cyqwin (nasty hack) on windows and write a bash script. | |||
|
feedback
|