1.

Solve : How to send the data to an application invoked from ssh?

Answer»

Hi All,
         I am newbiee for writing batch files.I have WRITTEN a batch file to log into linux machine from my windows through putty and to invoke an application on the remote end. I have to send the data to the application from my windows machine. My batch file looks like this....

type image | putty.exe -t -l root -pw anil123 -m anil.txt 10.50.25.53

where as the image contains the data to be sent to application.
anil.txt contains the application to be invoked.

what i have observed was, i am able to loginto the linux machine and able to invoke the application but not able to send the data to the application.My control is GETTING STUCK in the application which i have invoked and with the pipe command i am not able to send the data to application.....

please HELP me.......thanks in advance

Anil.
    I have asked for this to be re-directed to the correct forum.your application anil123 takes an image file as an input correct?? you can just SCP over the image file, then invoke the application.Thanks for the quick reply......

In my batch file, Image is the file which contains the data to be sent to the application that is invoked on the linux machine.....

linux machine to be specific i am working on a embedded device on which uClinux o.s is
running. so i can't winscp the image on to board........


Anil.



Discussion

No Comment Found