GENERATED: MAY 4,2023 - 8:36AM
CHTTP FILE CLIENT SECURE [V10.23.04. 27.00]

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 • (TIER-1) •
(0002) ApplicationImagesEx(HNDTools) 1 © CHT ApplicationImagesEx • (TIER-1) •
(0003) ApplicationSnapIns(HNDTools) 1 © CHT ApplicationSnapIns • (TIER-3) •
(0004) HNDCMPControlPanel(HNDTools) 1 © CHT HNDCMPControlPanel • (TIER-2) •
(0005) HandyVersionResource(HNDTools) 1 © CHT HandyVersionResource • (TIER-1) •
(0006) INIFile(HNDTools) 1 © CHT INIFile • (TIER-1) •
(6) Global Templates • (TIER-3)

 1 – Template Type: Splash
  – – Procedure Name: JumpStartSplashCHTBlue()
Count Local Template Name Qty Local Template Description
(0007) AppBuildDateTimeStamp(HNDTools) 1 © CHT AppBuildDateTimeStamp • (TIER-2) •
(0008) AppBuildNumberStamp(HNDTools) 1 © CHT AppBuildNumberStamp • (TIER-2) •
(0009) AppCopyRightStamp(HNDTools) 1 © CHT AppCopyRightStamp • (TIER-2) •
(0010) EmbedWindowFunctions(HNDTools) 1 © CHT EmbedWindowFunctions • (TIER-2) • (CODE-TABS) •
(0011) HandyTellMeControl(HNDTools) 1 © CHT HandyTellMeControl • (TIER-2) • (2)
(0012) ProcedureImagesEx(HNDTools) 1 © CHT ProcedureImagesEx • (TIER-1) • (CODE-TABS) •
(0013) ProcedureSnapIns(HNDTools) 1 © CHT ProcedureSnapIns • (TIER-3) •
(7) Local Templates • (TIER-3)

 2 – Template Type: Window
  – – Procedure Name: HTTPClientMain()
Count Local Template Name Qty Local Template Description
(0014) AppStartSplashProcedure(HNDTools) 1 © CHT AppStartSplashProcedure • (TIER-1) • (CODE-TABS) •
(0015) CHTBestPracticeEmbedClass(HNDTools) 1 © CHT CHTBestPracticeEmbedClass • (TIER-1) • (CODE-TABS) •
(0016) EmbedHTTPClientFunctions(HNDTools) 1 © CHT EmbedHTTPClientFunctions • (TIER-3) •
(0017) EmbedWindowFunctions(HNDTools) 1 © CHT EmbedWindowFunctions • (TIER-2) • (CODE-TABS) •
(0018) HandyApplicationIniFetch(HNDTools) 1 © CHT HandyApplicationIniFetch • (TIER-1) • (6)
(0019) HandyApplicationIniPut(HNDTools) 4 © CHT HandyApplicationIniPut • (TIER-1) • (15)
(0020) HandyFileSelectorControl(HNDTools) 2 © CHT HandyFileSelectorControl • (TIER-2) • (CODE-TABS) • (10)
(0021) HandyHelpFileFetch(HNDTools) 4 © CHT HandyHelpFileFetch • (TIER-1) • (13)
(0022) HandyHelpWhatsNew(HNDTools) 1 © CHT HandyHelpWhatsNew • (TIER-1) • (20)
(0023) HandyToolBarGradient(HNDTools) 1 © CHT HandyToolBarGradient • (TIER-2) •
(0024) HandyWindowGradient(HNDTools) 1 © CHT HandyWindowGradient • (TIER-2) •
(0025) ProcedureImagesEx(HNDTools) 1 © CHT ProcedureImagesEx • (TIER-1) • (CODE-TABS) •
(0026) ProcedureSnapIns(HNDTools) 1 © CHT ProcedureSnapIns • (TIER-3) •
(13) Local Templates • (TIER-3)

Copyright © 1996-2023 - CHT Version: [27B.00.00]
Gus M. Creces, CLARION HANDY TOOLS
All Rights Reserved Worldwide

chtlogo001.gif
Application Templates