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

Previous Page
This "CHT Batch Bot" application is a command-line FTP tool which can send, fetch and erase files to/from any standard FTP site. The application can be called from one of your Clarion applications, a Windows batch file or a Windows .VBS script to provide reliable single and multi file upload/download/services.

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

HNDFTPNET.EXE is dependent on a CHT DLL called HNDFTPNET.DLL being present and visible on the system path, for its FTP capabilities.

The application communicates to this DLL via COM, requiring the HNDFTPNET.DLL to be registered on the host system. This DLL will auto-register on the host system when first called and found not to be registered.

CONFIGURING:
--config0
<9>[CFG] Set up FTP configuration information #0
--config1
<9>[CFG] Set up FTP configuration information #1
--config2
<9>[CFG] Set up FTP configuration information #2
--set0
<9>[CFG] Select and use configuration #0
--set1
<9>[CFG] Select and use configuration #1
--set2
<9>[CFG] Select and use configuration #2

COMMANDS:
--send
<9>[OPT] Provides file name of the local file to be uploaded.
<9>This file need not exist if used with the --mask tag to
<9>to indicate that a pre-zip is performed using a mask.

--remote
<9>[REQ] Names the remote directory with which to interact.
<9>This is a required parameter which is formed as follows:
<9>/ftprootdir/subdir1/subdir2/

--local
<9>[OPT] Names a local directory when the --mask tag
<9>is used to describe one or more files for pre-zipping.
<9>Defaults to the application directory if omitted.

--pwd
<9>[OPT] Password used when pre-zipping with --mask.

--mask
<9>[OPT] DOS-style file mask (eg: • .app) describes files to be
<9>zipped. Requires CHTSNAPZIP.EXE to be available.
<9>--send parameter must be .zip file name

--fetch
<9>[OPT] File name of a remote file to be downloaded.
<9>Use instead of --send or --erase when downloading.

--erase
<9>[OPT] Provides file to be erased from a remote directory.
<9>Use instead of --fetch and --send when deleting.

--list
<9>[OPT] Used by itself, this provides a file listing
<9>of the remote directory stipulated after the tag.
<9>E.G. --list /web/subdir/

LOGGING:
All successful transactions or errors are logged into "hndftpnet.log" located in the same directory as the hndftpnet.exe.

HELP:
--help
<9>[OPT] Used by itself, this pops up a splash help screen
<9>Creates hndftpnethelp.txt which contains the contents of
<9>this splash screen.



 
PROCEDURE (1):
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


 
PROCEDURE (2):
Main (Procedure Template: HandySourceProcedure)
Count Instance Class Type Methods Header File
(0001) FTP HNDNetFTPClass HND 329 HNDNETFTP.INC
(1) Class Instances Found In Main


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

chtlogo001.gif Classes By Procedure In HNDFTPNET.APP