4D v14.3

HTTP Get certificates folder

Home

 
4D v14.3
HTTP Get certificates folder

HTTP Get certificates folder 


 

HTTP Get certificates folder -> Function result 
Parameter Type   Description
Function result  Text in Complete pathname of active certificates folder

The HTTP Get certificates folder command returns the complete pathname of the active client certificates folder.

By default, 4D uses the "ClientCertificatesFolder" folder that is created next to the structure file (folder only created if necessary). However, you can create a custom folder for the current process using the HTTP SET CERTIFICATES FOLDER command.

Example  

You want to change certificates folder temporarily:

 C_TEXT($certifFolder)
 $certifFolder :=HTTP Get certificates folder //save current folder
 HTTP SET CERTIFICATES FOLDER("C:/temp/certifTempo/")
 ... // execution of specific requests
 HTTP SET CERTIFICATES FOLDER($certifFolder//restore previous folder

 
PROPERTIES 

Product: 4D
Theme: HTTP Client
Number: 1307

 
HISTORY 

New
Created: 4D v14

 
SEE ALSO 

HTTP SET CERTIFICATES FOLDER

 
ARTICLE USAGE

4D Language Reference ( 4D v14 R2)
4D Language Reference ( 4D v14 R3)
4D Language Reference ( 4D v14.3)
4D Language Reference ( 4D v14 R4)