Apache Ant FTP connection over TLS

ant, ftp, ssl

Solution

FTPS has not been widely accepted by the industry. SFTP (part of SSH) is preferred. FTPS suffers the same limitations as FTP and introduces a new one: Firewall Incompatibilty.

This is very likley why the `ftp` task doesn't support it. As Martin Clayton suggests `scp` will do the trick.

Problem

How to connect to FTP over TLS in Apache Ant? Ftp task doesn't seem to support this. Are there some other tasks for FTP over TLS?

Original source