Re: [JSch-users] Problem running the ScpTo sample
Status: Alpha
Brought to you by:
ymnk
From: Moshe R. <mo...@gm...> - 2008-03-11 22:48:23
|
SCP works fine from the CLI, both with cygwin & reflection clients. The user configuration is identical for the CLI and the ScpTo sample program. Thanks, Ron On Wed, Mar 12, 2008 at 12:07 AM, Stote, John (RBC Dexia IS) < joh...@rb...> wrote: > Why don't you trace the code to see where the error is happening? You > have not provided much information to be honest. > > Since those words dont occur anywhere in the jsch library I deduce the > error is coming from the server. I would check that the server is configured > correctly and you have correct permissions for everything. > > Does it work with another SSH client ? > > ------------------------------ > *From:* jsc...@li... [mailto: > jsc...@li...] *On Behalf Of *Moshe Ron > *Sent:* Wednesday, 12 March 2008 7:37 > *To:* jsc...@li... > *Subject:* [JSch-users] Problem running the ScpTo sample > > Hi, > > I'm trying to run this sample in order to upload a file from Windows XP to > another Windows XP server running a Cygwin SSH service. > > After executing "channel.connect()", performing "checkAck" returns the > error: "No destination file specified". > > Trying several combinations of file names with or without directory > specification, have not changed the error response. > > JSch version: 0.1.37 > Java version: 1.6.0-04 > > Thanks for your help, > Ron > > ____________________________________ > This e-mail may be privileged and/or confidential, and the sender does not waive any related rights and obligations. Any distribution, use or copying of this e-mail or the information it contains by other than an intended recipient(s) is unauthorized. If you received this e-mail in error, please advise me (by return e-mail or otherwise) immediately and delete this e-mail. > > The contents of any attachment to this e-mail may contain software viruses or other defect which might affect your own computer system once received or opened. While companies under RBC Dexia Investor Services Trust and its affiliates take reasonable precautions to minimize that risk, we cannot accept liability or responsibility for any damage or loss which may occur or be sustained as a result of a software virus or other defect. You are responsible for virus checks before opening any attachment. > > |