Wiki
Clone wikihleofxquotes / Download_OFX_Command_Line
Download_OFX_Command_Line
The page has information about the command-line version of the hleofxquotes tool.
Make sure to use version Build_20210217_296 or later. Currently, Build_20210217_296 is available as a test version from: https://bitbucket.org/hleofxquotesteam/hleofxquotes-test/downloads/
My recommendation is that you should use the GUI version to make sure that your OFX downloading works with no error first (to set up all the FI's directories). Then, if desired, setup to run the command-line (cmd) version.
To start
You need to pass the following arguments
- "app.cmd": to start the tool in command-line mode
- FI directory
For examle
java -jar hleOfxQuotes-gui-Build_20210217_296-exec.jar app.cmd /home/xyz/fi/USSA_Checking
That will attempt to download OFX file using the configuration from directory '/home/xyz/fi/USSA_Checking'
noop option
You can run in 'noop' mode (default is 'false') which will go through the motion WITHOUT actually sending the request to the FI URL.
To enable the 'noop' mode, specify
- System.property 'hleofxquotes.stmt.cmd.noop=true'
For example:
java -Dhleofxquotes.stmt.cmd.noop=true -jar hleOfxQuotes-gui-Build_20210217_296-exec.jar app.cmd /home/xyz/fi/USSA_Checking
import option
To automatically 'open' the OFX file after a successfully download, specify
- System.property 'hleofxquotes.stmt.cmd.import=true'
For example:
java -Dhleofxquotes.stmt.cmd.import=true -jar hleOfxQuotes-gui-Build_20210217_296-exec.jar app.cmd /home/xyz/fi/USSA_Checking
To process multiple FI's
To process ALL FI directories under your ${HOME}/fi directory.
java -jar hleOfxQuotes-gui-Build_20210217_296-exec.jar app.cmd /home/xyz/fi
To process 2 directories (you can specify 1..N directories).
java -jar hleOfxQuotes-gui-Build_20210217_296-exec.jar app.cmd /home/xyz/fi/USSA_Checking /home/xyz/fi/USSA_Credit_Card
Content of FI directory
- accountInquiry-v1-info.txt: list valid account numbers (result of 'Get Account Info')
- accountInquiry-v1-req.ofx: OFX request for 'Get Account Info' (OFX v1)
- accountInquiry-v1-resp.ofx: OFX response for 'Get Account Info' (OFX v1)
- accountInquiry-v2-req.ofx: OFX request for 'Get Account Info' (OFX v2)
- accountInquiry-v2-resp.ofx: OFX response for 'Get Account Info' (OFX v2)
- download.properties: for UI to display download status
- fi.properties: The main configuration file, setting/properties for this FI
- httpRequestHeaders.txt: list of last HTTP request headers
- httpResponseHeaders.txt: list of last HTTP response headers
- req.ofx: last OFX request
- resp.ofx: last OFX response
Updated