Connecting winscp through btach/CMD file

Advertisement

Guest
Guest

Connecting winscp through btach/CMD file

Hey,

I want to connect the linux server from windows batch file application and I want copy the files.
Please help me to connect the linux server through winscp application from batch file coding.

Using following command getting connected and rest putftp.dat commands executing...Only issue is its asking username and password manually I have to type in command prompt...I want automate that also.

c:\Progra~1\winscp\winscp 169.xx.xxx.xxx /script=putftp.dat >>log2.txt

Please help

Thank you
Sreedhara TR

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum