ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Levy-Lambert" <anto...@antbuild.com>
Subject Re: Secure FTP using Ant. Any ideas?
Date Tue, 29 Jul 2003 17:39:47 GMT

----- Original Message -----
From: "Billy Talton" <billy.talton@cornerstone.net>
Sent: Tuesday, July 29, 2003 5:51 PM


> Is anyone aware of a way to access a secure FTP server within an Ant
script?
> Specifically, I need to be able to transfer web files from the application
> server to the web server (which only allows sftp) during my deployment.
Both
> are Unix servers, by the way. I have written the entire script but I'm
> stumped when it comes to performing this particular task.  Any ideas?
> Sincerely,
>
In ant 1.6 ( http://cvs.apache.org/builds/ant/nightly) there are sshexec and
scp tasks.
Maybe scp would work for you.
You can also do a search on the web for a sftp task, it might well already
exist.
Or look at http://ant.apache.org/external.html

Cheers,

Antoine



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


Mime
View raw message