GENERATED: FEB 13,2021 - 5:33PM
CHTTP FILE CLIENT [V10.21.02]

Previous Page

This application is a file client to be used with server application, HNDSLFSV.APP, to test principles surrounding secure, file exchanges with a CHT Type 4 file servers.

Type 4 servers provide server-level ACCOUNT ID and PASSCODE authentication, rather than individual user-specific authentication. This type of server does not normally have a user data table associated with it though it could.

HNDSLFCL.APP illustrates how to make secure file upload and download requests to and from a CHT server root directory or any directory below server root.

A log-in dialog has been added, under an unlock image button on the tool bar. This produces an XSA, 2-part authentication dialog for server-level authentication prior to transfer access being allowed. The ACCOUNT ID and PASS CODE #, entered must match the same two values established on the server.

HNDSLFCL.APP illustrates two secure file transfer functions: HTTPGetFileSecure() and HTTPPutFileSecure() which provide a progress window with a cancel button.

These two functions are hosted in CHT Class HNDCLIENT and are made available in the application by a template called EmbedHTTPClientFunctions.


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) ApplicationSnapIns(HNDTools) 1 © CHT ApplicationSnapIns - Application Snap-In System
(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
(0007) INIFile(HNDTools) 1 © CHT INIFile - .INI FIle and Registry extension classes - HNDIni - globally to your application.
(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: Window
HTTPClientMain ()
Count Local Template Name Qty Local Template Description
(0014) AppStartSplashProcedure(HNDTools) 1 © CHT AppStartSplashProcedure - Application Splash screen earlier with an option for threaded/unthre
(0015) CHTBestPracticeEmbedClass(HNDTools) 1 © CHT Best Practice Embedding Assistant
(0016) EmbedHTTPClientFunctions(HNDTools) 1 © CHT EmbedHTTPClientFunctions - WEB An Instance Of: HNDClient
(0017) EmbedWindowFunctions(HNDTools) 1 © CHT EmbedWindowFunctions - HWin An Instance Of: HNDWindow
(0018) HandyApplicationIniFetch(HNDTools) 1 © CHT HandyApplicationIniFetch - Embed a fetch from the Application INI file or Windows registry.(6)
(0019) HandyApplicationIniPut(HNDTools) 4 © CHT HandyApplicationIniPut - Embed a PUT to the Application INI file or Windows registry.(15)
(0020) HandyFileSelectorControl(HNDTools) 2 © CHT HandyFileSelectorControl - File and directory selector lookup control.(10)
(0021) HandyHelpFileFetch(HNDTools) 4 © CHT HandyHelpFileFetch - Build A Help File Request To Your Website.(13)
(0022) HandyHelpWhatsNew(HNDTools) 1 © CHT HandyHelpWhatsNew - Build A What's New Request To Your Website.(20)
(0023) HandyToolBarGradient(HNDTools) 1 © CHT HandyToolBarGradient - Place gradient properties as a backdrop on the window toolbar.
(0024) HandyWindowGradient(HNDTools) 1 © CHT HandyWindowGradient - Place gradient properties as a backdrop on the window.
(0025) ProcedureImagesEx(HNDTools) 1 © CHT ProcedureImagesEx - Application Styling System
(0026) ProcedureSnapIns(HNDTools) 1 © CHT ProcedureSnapIns - Application Snap-In System
(13) Local Templates Found In HTTPClientMain

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

chtlogo001.gif
Application Templates