GENERATED: FEB 13,2021 - 5:33PM
BATCH-BOT HTTP TOOL [V10.21.02]

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.


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

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

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

ACTION COMMANDS
--send
<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.

--fetch
<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.

--erase
<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.

SOURCE/TARGET COMMANDS:
--remote
<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.

--local
<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.

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

LOGGING:
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

chtlogo001.gif
Application Templates