[JSch-users] Problem with Java and Jsch
Status: Alpha
Brought to you by:
ymnk
From: Borja <sou...@di...> - 2005-01-28 10:36:10
|
We try to send many files from many directories from a Java client to a = SSH Server. When we execute the "setCommand" for the channel, we don't = know to which directory should we send the files, so we use "scp -t ." = as the command to exec. Then, when we send the file, our command is like = "C0644 "+filesize+" "+dir+"/"+file. After that, we check the Ack. If we = use a server with the OpenSSH 3.6.1p2-19 we obtain the value 0 (OK). But = if we use a server with the OpenSSH 3.7.1p2-113 (on a Suse 9.0) we = obtain the value 1 (error). Can we do something else to eliminate this error? Thanks |