Here is the SSHExec documentation: ant.apache.org/manual/Tasks/sshexec.html.
It might be worth it to try it this way as I am not 100% sure if you can actually script a logging in, security implications otherwise, your password would be exposable...so I have not really done this before by using putty -m using the script in place. Putty host -l login_name -pw password -m my_script my_script would contain rmdir some_directory_name The other way I can think of it is to use AutoIt, which is a BASIC like syntax and to automate the process of logging on, and feeding a rmdir directory_name, perhaps to make it more flexible, supply the host, user id, password and the directory name to the autoit script which, can by the way be compiled to a standalone program...
Thanks for your response. But I need to do everything it from ANT build, so can you please tell me how to write ANT target for that – vishu Mar 8 '10 at 18:47.
I used SSHEXEC1 to create and delete directory on remote unix machine. I just return shell script to create and delete directory and run that using sshexec. Same thing we can do using FTP,But I don't have access to ftp so I used sshexec its working good.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.