Jsch newbie question,
I have a question about the behavior of the library when its used to talk to
a perl script that intercepting the scp command, calling scp on my behalf,
and the post processing the transferred file.
If sshd on the remote application detects a problem I see the error code and
any error messages. If there is a problem in the post processing of the
file after the scp, I never get any messages and never detect that the
connection is closed on the far end (connection.isEOF()).
If I execute the scp command on the command line (OpenSSH_3.7.1p2), I get
all the data from the scp command and the post processing.
The target machine is running OpenSSH 4.2 but I don't know the exact
Other than they should let me scp the file then kick off the post
processing, any ideas as to the reason why the command line version sees all
the errors but my app only sees the scp errors and not the perl errors?
Essentially, my code is just using the ScpTo example with some log messages
to tell me what the connection is doing.
Get latest updates about Open Source Projects, Conferences and News.