Hi.  I am a new ant user seeking to use ant to deploy my webapp to my remote 
server.  For starters, I am just trying to copy one file from my local computer 
to my remote server using an scp task.  According to my local computer, my 
attempt works: I get "BUILD SUCCESSFUL" and even the number of bytes per second 
that the transfer took.  However, the file does not appear on the server.  Here 
is the target with password and site obscured, along with console output from 
running ant.  Thanks for any input.

TARGET

<property name="file" location="z:/test.txt"/>
<property name="dest" location="/test"/>
 
<target name="test">
    <scp file="${file}" todir="r...@mysitehere:${dest}"
         password="MyPasswordHere" trust="true" verbose="true"
         sftp="true"/>
</target>


CONSOLE OUTPUT

test:
      [scp] Connecting to MySiteHere.com:22
      [scp] Sending: test.txt : 474
      [scp] File transfer time: 0.17 Average Rate: 2,771.93 B/s
      [scp] done.

BUILD SUCCESSFUL
Total time: 1 second


____________________________________________________________
Best Weight Loss Program - Click Here!
http://thirdpartyoffers.juno.com/TGL2131/fc/BLSrjnsEGrDhekrAbQjWjhnr1QxKmbJyQoCwObUJPhK1j8q4wJ1Z5qJ7hFO/

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to