GENERATED: FEB 13,2021 - 5:33PM

Previous Page

This "CHT Batch Bot", HNDSLFCMD.EXE is a command-line HTTP tool which can send to, fetch and erase files from any standard CHT HTTP site managed by a Type 4 CHT Server such as HNDSLFSV.APP. A password and username are required for access to the server. Communications in both directions are encrypted.

The "CHT Batch Bot" application can be called from one of your Clarion applications, from a Windows batch file or from a Windows .VBS script to provide reliable file upload, download and delete services.

HNDSLFCMD.EXE source code, because it is in Clarion .APP format, is included as a standard part of the CHT toolkit, provided both in .APP format as well as ready-to-run, in .EXE format.

--config0 to --config9
<9>[CFG] Set up HTTP configuration information #0 to #9

"Set" commands may be combined with --send, --fetch or --erase.

--set0 to --set9
<9>[CFG] Select and use configuration #0 to #9
<9>[CFG] Manually inserted url and port, ignore config settings.
<9>E.G. --set
<9>[CFG] Manually inserted username and password
<9>E.G. --userpass username:userpass

<9>[REQ] Provides file name of the local file to be uploaded.
<9>Use with --local to name the local pickup directory.
<9>Use with --remote to name the remote target directory.
<9>Multiple files may be listed, separated by commas.

<9>[OPT] File name of a remote file to be downloaded.
<9>Use instead of --send or --erase for downloading files.
<9>Use with --local to name the local target directory.
<9>Use with --remote to name the remote pickup directory.
<9>Multipe files may be listed, separated by commas.

<9>[OPT] Provides file to be erased from a remote directory.
<9>Use instead of --fetch and --send when deleting.
<9>Use with --remote to name the remote directory.
<9>Multiple files may be listed, separated by commas.

<9>[OPT] Remote directory with which to interact.
<9>Remote directory below server /root/ directory.
<9>Example usage: subdir1/subdir2/
<9>Defaults to the server /root/ directory if omitted.

<9>[OPT] Names a local directory to indicate --send
<9>pickup directory or to indicate --fetch target directory.
<9>Defaults to the application directory if omitted.

<9>[OPT] Pops up a splash help screen.
<9>Creates hndslfcmdhelp.txt which contains the contents
<9>of this splash screen.

All successful transactions and/or errors are logged into "hndslfcmd.log" located in the same directory as the hndslfcmd.exe.

Count Global Template Name Qty Global Template Description
(0001) AACHTControlPanel(HNDTools) 1 © CHT AACHTControlPanel - CHT Global Control Panel (hndtools.tpl)
(0002) ApplicationImagesEx(HNDTools) 1 © CHT ApplicationImagesEx - Application Styling System
(0003) GlobalIncludeHNDDiskFunctions(HNDTools) 1 © CHT GlobalIncludeHNDDiskFunctions - Disk classes - HNDDisk - globally to your application.
(0004) HNDCMPControlPanel(HNDTools) 1 © CHT PROJECT BUILDER SUPPORT - Interface to the CHT Project Builder.
(0005) HandyCodeSigningExtension(HNDTools) 1 © CHT HandyCodeSigningExtension - Application Code-Signing System
(0006) HandyVersionResource(HNDTools) 1 © CHT HandyVersionResource - Version Resource/Build Number Information To EXE
(6) Global Templates Found

1 - Procedure Template Type: HandySourceProcedure
MainProc ()
Count Local Template Name Qty Local Template Description
(0007) CHTBestPracticeEmbedClass(HNDTools) 1 © CHT Best Practice Embedding Assistant
(0008) EmbedEncryptionFunctions(HNDTools) 1 © CHT EmbedEncryptionFunctions - ENC An Instance Of: HNDEncrypt
(0009) EmbedHTTPFunctions(HNDTools) 1 © CHT EmbedHTTPFunctions - HTTP An Instance Of: HNDHttp
(3) Local Templates Found In MainProc

2 - Procedure Template Type: Splash
JumpStartSplashCHTBlue ()
Count Local Template Name Qty Local Template Description
(0010) AppBuildDateTimeStamp(HNDTools) 1 © CHT AppBuildDateTimeStamp - An application build date/time stamp.
(0011) AppBuildNumberStamp(HNDTools) 1 © CHT AppBuildNumberStamp - An application build number or version stamp.
(0012) AppCopyRightStamp(HNDTools) 1 © CHT AppCopyRightStamp - An application copyright stamp.
(0013) HandyTellMeControl(HNDTools) 1 © CHT HandyTellMeControl - Text box control to provide a message or help text.
(0014) ProcedureImagesEx(HNDTools) 1 © CHT ProcedureImagesEx - Application Styling System
(5) Local Templates Found In JumpStartSplashCHTBlue

Copyright © 1996-2021 - CHT Version: [25A.01.00]
Gus M. Creces, CHT - Clarion Handy Tools
All Rights Reserved Worldwide

Application Templates