Skip to main content
Version: Next

HTTP Get certificates folder

HTTP Get certificates folder : Text

ParameterTypeDescription
Function resultTextComplete pathname of active certificates folder
Compatibility

This command is maintained for compatibility reasons only. It is now recommended to use the 4D.HTTPRequest class.

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