This application demonstrates primarily, the use of a Clarion Handy Tools OOP classes called HndHTTP and HNDClient. This application illustrates how to send a variety of requests to a server. It is preconfigured to interact with demo servers HNDFILSV.APP - a "Type 3", authenticating file and duty server. The HTTP_CHTSecureFileOperations() procedure can securely upload files, download files, delete files and check file existence against a CHT Browser Server application configured to accept these operations. At the server side (see HNDFILSV.APP) you have full control over which operations are allowed. The HTTP_CHTServerInsecureFileOperations() procedure illustrates sending User Custom Requests (UCR$) to HNDFILSV.APP. The two example commands provided here, demonstrate remotely running threaded example procedures in the server. At the server side (see HNDFILSV.APP) any number of threaded procedures may be inserted, each with it's own command and parameter list, by following the example embeds in Server.ProcessUserCustomRequest(). |
PROCEDURE (1): HTTP_CHTSecureFileOperations (Procedure Template: Window) |
|||||
Count | Instance | Class | Type | Methods | Header File |
(0001) | HTTP | HNDHttp | HNDINET | 229 | HNDHTTP.INC |
(0002) | Win | HNDWindow | HND | 206 | HNDWINDO.INC |
(0003) | Toolbar | ToolbarClass | ABC | 6 | ABTOOLBA.INC |
(0004) | ThisWindow | WindowManager | ABC | 40 | ABWINDOW.INC |
(4) Class Instances Found In HTTP_CHTSecureFileOperations | |||||
PROCEDURE (2): Main (Procedure Template: Frame) |
|||||
Count | Instance | Class | Type | Methods | Header File |
(0001) | HWin2 | HNDWindow | HND | 206 | HNDWINDO.INC |
(0002) | Toolbar | ToolbarClass | ABC | 6 | ABTOOLBA.INC |
(0003) | ThisWindow | WindowManager | ABC | 40 | ABWINDOW.INC |
(3) Class Instances Found In Main | |||||
PROCEDURE (3): HTTP_CHTServerInsecureFileOperations (Procedure Template: Window) |
|||||
Count | Instance | Class | Type | Methods | Header File |
(0001) | HTTP | HNDClientHook | HNDINET | 13 | HNDCLNT.INC |
(0002) | Win | HNDWindow | HND | 206 | HNDWINDO.INC |
(0003) | Toolbar | ToolbarClass | ABC | 6 | ABTOOLBA.INC |
(0004) | ThisWindow | WindowManager | ABC | 40 | ABWINDOW.INC |
(4) Class Instances Found In HTTP_CHTServerInsecureFileOperations | |||||
PROCEDURE (4): JumpStartSplash07 (Procedure Template: Splash) |
|||||
Count | Instance | Class | Type | Methods | Header File |
(0001) | HTellMe | HNDWindow | HND | 206 | HNDWINDO.INC |
(0002) | HWin | HNDWindow | HND | 206 | HNDWINDO.INC |
(0003) | Toolbar | ToolbarClass | ABC | 6 | ABTOOLBA.INC |
(0004) | ThisWindow | WindowManager | ABC | 40 | ABWINDOW.INC |
(4) Class Instances Found In JumpStartSplash07 | |||||