Config file pull lines
Note that lines starting with # are ignored.#Pull;protocol;Description;server;user;password;remote dir;local dest dir;optional match pattern;pull all files;delete after pull; remote archive dir;pull recursively; suffix to add; log name of this row;timestamp log;don't repeat downloads;prefix to add
This entry will pull from server 13.45.125.9 folder source_files all files, delete them without archiving on the server, but not recursively, not remembering previous downloads and store them in local folder c:\work\downloaded_files, adding the prefix QQQ to all downloaded filesPull;ftp;My filesource;132.99.99.99;user1;userpass1;source_files;c:\work\downloaded_files;;T;T;;F;;my_filesource_log;T;F;QQQ
This entry will pull from server 13.45.125.9 folder source_files all files, without deletion but remembering previous downloads to avoid duplication, but not recursively, not remembering previous downloads and store them in local folder c:\work\downloaded_filesPull;ftp;My filesource;132.99.99.99;user1;userpass1;source_files;c:\work\downloaded_files;;T;F;;F;;my_filesource_log;T;T
- Complete list of pull fields in the config file
PROTOCOL = 1;
DESC = 2;
SERVER = 3;
USER = 4;
PASSWORD = 5;
REMOTE_DIR = 6;
DEST_FOLDER = 7;
MATCH_PATTERN = 8;
PULL_ALL = 9;
DELETE_AFTER_PULL = 10;
REMOTE_ARCHIVE_DIR = 11;
PULL_RECURSIVELY = 12;
SUFFIX_TO_ADD = 13;
LOG_NAME = 14;
TIMESTAMP_LOG = 15;
REMEMBER_PULL = 16;
Config file push lines
#Push;protocol;Dest description;server;user;password;local source dir;remote dest dir;optional match pattern;push all files;delete after push;local archive dir;push recursively;log name;timestamp log
This entry will push to server 192.168.0.2 folder ./filedrop. All files in local folder c:\work\files (but not subfolders) will be pushed and then deleted, but a local copy will be written to c:\work\archive firstPush;sftp;my dest;192.168.0.2;user1;userpass1;c:\work\files;./filedrop;;t;t;c:\work\archive;f;push_files.log;t
Authentication
- Complete list of push fields in the config file
PROTOCOL = 1;
DESC = 2;
SERVER = 3;
USER = 4;
PASSWORD = 5;
LOCAL_DIR = 6;
DEST_FOLDER = 7;
MATCH_PATTERN = 8;
PUSH_ALL = 9;
DELETE_AFTER_PUSH = 10;
LOCAL_ARCHIVE_DIR = 11;
PUSH_RECURSIVELY = 12;
LOG_NAME = 13;
TIMESTAMP_LOG = 14;
DATESTAMP_ARCHIVE = 15;
Note that the user name and password fields can be empty in Ftask config file lines. If they are empty, Ftask will use values from the .netrc file (_netrc on Windows). If user name and password are specified, the netrc file will be updated with the new values.