Hi,
Objective is to transfer files from windows server to Unix server using cygwin.
I have installed cygwin, and I manually execute commands and transfer files from windows to unix using sftp. These are steps I execute
1) Run cmd
2) Run cygwin
3) At prompt type sftp user1@uniserver
4) lcd "C:\Work"
5) cd /data/in
6) mput *.dat
7) bye
I have following questions:
I need to automate the above process and script needs to exist on Windows server.
If I need to pass parameters will it be in shell script format or windows?
How will I invoke cygwin and execute the script at command line?
Objective is to transfer files from windows server to Unix server using cygwin.
I have installed cygwin, and I manually execute commands and transfer files from windows to unix using sftp. These are steps I execute
1) Run cmd
2) Run cygwin
3) At prompt type sftp user1@uniserver
4) lcd "C:\Work"
5) cd /data/in
6) mput *.dat
7) bye
I have following questions:
I need to automate the above process and script needs to exist on Windows server.
If I need to pass parameters will it be in shell script format or windows?
How will I invoke cygwin and execute the script at command line?