GENERATED: JUL 19,2019 - 1:21PM
BATCH-BOT HTTP TOOL [V10.19.07]

Previous Page

This "CHT Batch Bot" application 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.

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.

 
PROCEDURE (1):
MainProc (Procedure Template: HandySourceProcedure)
Count Instance Class Type Methods Header File
(0001) ENC HNDEncrypt HNDINET 151 HNDENCRP.INC
(0002) HTTP HNDHttp HNDINET 223 HNDHTTP.INC
(2) Class Instances Found In MainProc


 
PROCEDURE (2):
JumpStartSplashCHTBlue (Procedure Template: Splash)
Count Instance Class Type Methods Header File
(0001) HTellMe HNDWindow HND 215 HNDWINDO.INC
(0002) Toolbar ToolbarClass ABC 6 ABTOOLBA.INC
(0003) ThisWindow WindowManager ABC 39 ABWINDOW.INC
(3) Class Instances Found In JumpStartSplashCHTBlue


Copyright © 1996-2019
Gus M. Creces and The Clarion Handy Tools Page.
All Rights Reserved Worldwide

chtlogo001.gif Classes By Procedure In HNDSLFCMD.APP