Hi, I tired with
let me tell you more.
When I execute my SCP command after that it ask for password which I have to give it in same window which open for my SCP command
with the Help of
Runtime.exce("scp test.txt [User Name]@192.0.0.1:/Folder/Folder/Folder");
and it stop there for password
$root$>scp test.txt [User Name]@192.0.0.1:/Folder/Folder/Folder
[UserName]@192.0.0.1's password:
now I did something like this
(inside
thread)
PrintWriter out = new PrintWriter(process1.getOutputStream());
out.write("PASSWORD");
but sorry this is not working. I am interating with prompt here
[ December 30, 2004: Message edited by: Sajan Patel ]