Easily pull or push files via FTP, both on demand and in a script
Do you need to pull data files from a manufacturer or push them to an OEM? We made the Ftasks library to simplify these tasks. Ftasks includes a powerful file transfer batch utility that lets you add a new file source or destination by adding one line to a config file as well as ad hoc file transfer tools that are easier to use than traditional FTP clients as well as .
FTP scripting with Ftask
Ftask configfilepath or
Ftask -setlicense Use this call only to install a purchased license key.
Ftask is designed to support scripted or batch ftp actions. It can pull or push all files in a folder or those matching a pattern. It can also optionally pull or push from all subdirectories or remove files from the source, or even archive transmitted files to a designated location.
Ftask behavior is controlled by a simple config file specified by configfilepath parameter. Each line of the config file specifies a new pull or push task to perform according to the patterns shown below, so multiple pulls and pushes can be performed in one Ftask call, each one covering a separate combination of server, directory and file pattern.
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
This entry will pull from server 220.127.116.11 folder /user/home/gopher all files, delete them without archiving on the server, but not recursively
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 first
Note that the user name and password fields can be empty in Ftasks 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.
- Download Ftask-1.0.zip.
- Extract the zip file in the desired location.
- For ease of use add the
/Ftask/bin directory to your execution path
Ftask requires a purchased license key. Ftask will automatically use a 2-week temporary evaluation license when first run if no key is provided. We are currently offering early user perpetual license pricing of $200 per user or server. If you are ready to move forward with purchasing a license click the “Buy Now” button to pay with a credit card.
Please contact us with product questions or feedback, purchase requests or volume pricing questions.