Java Mailing List Archive

http://www.ant-tasks.com/

Home » Ant Users List »

create remote folder

gdilem@libero.it

2008-06-18


Author LoginPost Reply
hi all
I need to create a remote folder using scp ant task.
Or I need to copy a dir to a remote host.
I used
<scp trust="true" sftp="true" verbose="true" todir="${vmuser}:${vmpassword}@(protected)" >
       <fileset dir="../exejava/resources${strANTHVER}d" />
     </scp>  

but it just copy files .
If the remote dir does not exists i need ant create it automatically possibly.
Regards
Giovanni


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.