You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "gdilem@libero.it" <gd...@libero.it> on 2008/06/18 11:26:43 UTC

create remote folder

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}@${vmip}:${vmjbosshome}/server/default/lib/resources${strANTHVER}d" >
				<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@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org