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.



Count Global Template Name Qty Global Template Description
(0001) AACHTControlPanel(HNDTools) 1 CHT AACHTControlPanel - CHT Global Control Panel.
(0002) ApplicationImagesEx(HNDTools) 1 CHT ApplicationImagesEx - Application Styling System
(0003) ApplicationSnapIns(HNDTools) 1 CHT ApplicationSnapIns - Application Snap-In System
(0004) GlobalIncludeHNDDiskFunctions(HNDTools) 1 CHT GlobalIncludeHNDDiskFunctions - Disk classes - HNDDisk - globally to your application.
(0005) HNDCMPControlPanel(HNDTools) 1 CHT HNDCMPControlPanel - Interface to the CHT Compile Manager.
(0006) HandyCodeSigningExtension(HNDTools) 1 CHT HandyCodeSigningExtension - Application Code-Signing System
(0007) HandyVersionResource(HNDTools) 1 CHT HandyVersionResource - Version Resource/Build Number Information To EXE
(7) Global Templates Found

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

2 - Procedure Template Type: HandySourceProcedure
Main ()
Count Local Template Name Qty Local Template Description
(0014) CHTBestPracticeEmbedClass(HNDTools) 1 CHT CHTBestPracticeEmbedClass CHT Best Practice Embedding Assistant
(0015) EmbedNetFTPClasses(HNDTools) 1 CHT EmbedNetFTPClasses - An Instance Of:
(2) Local Templates Found In Main

Copyright © 1996-2019 - CHT Version: [23C.01.00]
Gus M. Creces and The Clarion Handy Tools Page.
All Rights Reserved Worldwide

chtlogo001.gif Templates In Application: HNDFTPNET.APP