ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raffaele <r.gambe...@prismasw.it>
Subject How to create remote directory without using ftp?
Date Fri, 28 Nov 2008 14:39:59 GMT

Hi all,

I'm running ANT from Maven, and I would like to create some directory on a
server.
I have seen scp task which helped me to do remote file copy, very well.
Now, I'm not understanding how to create a directory on my server, scp
doesn't do this, is it right?

I've tried also with this:
<sshexec host="myserver"
             username="user"
	     password="pwd"									
	    command="mkdir c:/ahyeah"/>

But it is saying "Connecting..." and it remains blocked indefinetely.

My server is Windows and I've installed on it OpenSSH.

Any advices or ideas?
Thanks very much and best regards
Raffaele Gambelli

-- 
View this message in context: http://www.nabble.com/How-to-create-remote-directory-without-using-ftp--tp20735701p20735701.html
Sent from the Ant - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message