ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "glenn opdycke-hansen" <glenn...@gmail.com>
Subject Re: scp multiple files getting error
Date Thu, 04 May 2006 22:27:39 GMT
Thanks for the suggestion, the error messages of jsch-0.1.28.jar contain the
same text that you posted.
Highly recommended!
--glenn

On 5/4/06, Anderson, Rob (Global Trade) <Rob.Anderson@nike.com> wrote:
>
> Try a later version of jsch. I am using jsch-0.1.28-rc4.jar and I get a
> reasonable error when trying to copy a file to a remote directory that
> does not exist.
>
> BUILD FAILED
> H:\scptest.xml:6: com.jcraft.jsch.JSchException: 2: syserr: No such file
> or directory, file: /home/rande4/no/directory/path/file
>
> -Rob Anderson
>
> > -----Original Message-----
> > From: glenn opdycke-hansen [mailto:glennoph@gmail.com]
> > Sent: Thursday, May 04, 2006 10:22 AM
> > To: Ant Users List
> > Subject: Re: scp multiple files getting error
> >
> > ant 1.6.5 + fixes for sshexec
> > jsch jsch-0.1.24.jar
> >
> > On 5/4/06, Anderson, Rob (Global Trade) <Rob.Anderson@nike.com> wrote:
> > >
> > > What version of Ant and jsch are you using?
> > >
> > > -Rob A
> > >
> > > > -----Original Message-----
> > > > From: glenn opdycke-hansen [mailto:glennoph@gmail.com]
> > > > Sent: Thursday, May 04, 2006 6:45 AM
> > > > To: ant user
> > > > Subject: scp multiple files getting error
> > > >
> > > > I am executing scp from ant and getting the error message "No
> > > > response from server".
> > > > I have used scp successfully before.  This time it is tranfering
> > > > multiple files from winxp to unix.  (transferring a
> > single file is
> > > > working fine.) The code snippet follows:
> > > >
> > > >     <scp todir="${u}:${pw}@${host}:${patch.target.dir}"
> > > >             trust="true" verbose="true">
> > > >       <fileset dir="${fpat.home.dir}/${fpat.source.dir}">
> > > >         <include name="**/*"/>
> > > >       </fileset>
> > > >     </scp>
> > > >
> > > > I checked to see if there is an option or setting on scp
> > that could
> > > > help, but did not find any.
> > > > Is there a setting on the service that supports scp?
> > > >
> > > > I found out that the problem was that the todir value was
> > not found
> > > > on the target system.
> > > >
> > > > Could we get a better error message?
> > > > "No response from server" is pretty general.
> > > >
> > > > --glenn
> > > >
> > >
> > >
> > >
> > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For
> > additional
> > > commands, e-mail: user-help@ant.apache.org
> > >
> > >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message