Download over FTP

(Allen Fisher) #1

I’ve got a gradle build that remotely executes a process on a system that creates a file. I need to be able to download this file over FTP. FTP is the only method available that I’m aware of that this system has for accessing its file system.

I’ve tried a few things that I’ve found on the net, most notably this:

The errors I get (once I got past some project scope issues is:
Execution failed for task ':all'. Could not find method ant() for arguments [build_dn4jyfn9w478544q27h8yizku$_run_closure4$_closure10$_closure12@72dc1c7] on task ':all' of type org.gradle.api.DefaultTask.

Any suggestions on what I need to do to get past this? Thanks!