ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From suma.b...@gsa.gov
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"/>
                        </fileset>
</scp>

works great for me.
Hope that helps,

-Suma






"Byron K. Appelt" <bappelt@sensorlogic.com>
08/05/2004 03:19 PM
Please respond to "Ant Users List"
 
        To:     user@ant.apache.org
        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"
remoteTofile="${sl.deployUser}:${sl.deployPassword}@${sl.deployHost}:/tmp/sl
services.tar" port="${sl.deployPort}" >
                 <fileset dir="/sensorlogic/AnthillPro/intranet/">
                                 <include
name="slservices*/${sl.deployID}/*${sl.deployID}.tar" />
                 </fileset>
</scp>

I get the following error:

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

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
Development
SensorLogic│M2M made easy.
byron@sensorlogic.com
www.SensorLogic.com

 




---------------------------------------------------------------------
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