lftp
Use LFTP to download files. This template has two modi, one is set lftp_mode to mirror data, in which case both lftp_url and lftp_pattern (default *) are used. The other modus is lftp_mode=get, when one file defined by lftp_url is downloaded. In the mirror mode it is possible to download only those files that are newer as the files already downloaded by using the lftp_timestamp parameter
Run dos2unix to prevent problems with possible dos text files
target name of the file to download
subdir to create & write all output to. If not defined, data will be downloaded to directory containing the Makefile
Lock this job after running. This means that you will have to manually unlock the job before lftp actually reruns. This is a good choice if your downloading large datasets or have a slow connection
Mode of operation - mirror or get. Mirror enables timestamping. Get just gets a single file. If using get, consider setting depend_lftp_timestamp to F. When using get, the full url should be in lftp_url. lftp_pattern is ignored. Defaults to mirror.
set of files not to be deleted by the powerclean
password for the remote site, note that this can be defined on the commandline using: make lftp_pass=PASSWORD
glob pattern to download
Do brute force cleaning (T/F). Remove all files, except moa.mk & Makefile when calling make clean. Defaults to F.
Depend on lftp to decide if a file needs updating, else a touchfile is created that you need to delete or touch before updating (T/F)
The base url to download from
username for the remote site