Return to Snippet

Revision: 10355
at December 22, 2008 03:46 by kouphax


Initial Code
ant = new AntBuilder()
ant.ftp( server:"ftp.foo.com",
    userid:"user",
    password:"passwd",
    passive:"yes",
    verbose:"yes",
    action:"get',
    remotedir:"/pub/incoming",
    binary:"yes" ) {
        fileset( dir:"." ) {
            include( name:"**/*.gz" )
        }
    }

Initial URL
http://blog.hhhhq.org/2007/04/ftp-using-groovy-and-ant.html

Initial Description
This script will alow you to download files from a remote FTP

Initial Title
Download Files from FTP (Groovy ANT Task)

Initial Tags
script, groovy

Initial Language
Groovy