Skip to main content
Version: Next

HTTP Get certificates folder

HTTP Get certificates folder -> Function result

ParameterTypeDescription
Function resultText🡐Complete pathname of active certificates folder

Description

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:

 var $certifFolder : Text
 $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

See also

HTTP SET CERTIFICATES FOLDER