Hello Dick,
Atsuhiko Yamanaka has created a bug report with an implementation of
the sftp task.
http://issues.apache.org/bugzilla/show_bug.cgi?id=39532
Maybe you can build it yourself and try it.
You can also vote for the bug report.
Best regards,
Antoine
On Feb 27, 2007, at 6:38 PM, Anderson, Rob (Global Trade) wrote:
-----Original Message-----
From: Dick, Brian E. [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 27, 2007 12:30 PM
To: user@ant.apache.org
Subject: SFTP task
I have the FTP task all over my build files, and now I need
to use SFTP.
I don't see an SFTP task. I only see sftp as a parameter for
the SCP task, but SCP has a completely different syntax from
FTP and would require a lot of re-coding.
What's the easiest way to get from FTP to SFTP?
Later,
BEDick
Please read this...
http://www.unix.org.ua/orelly/networking_2ndEd/ssh/ch03_08.htm
This is a qoute from the link above...
"The name SFTP is really unfortunate, because it confuses people on a
number of levels. Most take it to stand for "Secure FTP." First,
just as
with scp1, as a protocol it isn't secure at all; the implementation
derives its security by speaking the protocol over an SSH connection.
And second, it has nothing whatsoever to do with the FTP protocol.
It is
a common mistake to think you can somehow use SFTP to talk securely to
an FTP server -- a reasonable enough supposition, given the name."
The answere to your question is: There is no easy way. You will
probably
have to do some rewriting.
-Rob Anderson
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]