ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: SCP remoteTofile attribute
Date Thu, 05 Aug 2004 19:42:25 GMT
Don't know about remoteTofile,

<scp todir="${username}:${password}@${imSrvr}:${imPrjDir} " trust="true">
                        <fileset dir="${dest}/../" >
                                <include name="**/*.class"/>
                                <include name="**/*.xml"/>

works great for me.
Hope that helps,


"Byron K. Appelt" <>
08/05/2004 03:19 PM
Please respond to "Ant Users List"
        cc:     (bcc: Suma Bhat/CONTRACTOR/FIB/CO/GSA/GOV)
        Subject:        SCP remoteTofile attribute

I am trying to scp a file using the remoteToFile attribute, as follows:

<scp verbose="true" trust="true"
services.tar" port="${sl.deployPort}" >
                 <fileset dir="/sensorlogic/AnthillPro/intranet/">
name="slservices*/${sl.deployID}/*${sl.deployID}.tar" />

I get the following error:

server indicated an error: scp: /tmp/slservices.tar: No such file or

I do not understand this error. Of course there is no such file since it
should be created. Am I missing something here?

Byron K. Appelt
SensorLogic│M2M made easy.


To unsubscribe, e-mail:
For additional commands, e-mail:

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