Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 9.3   9.4   9.5   10.0   10.1   10.2   10.3   10.4   10.5   10.6    Statistic    FMM    Blog  

CURL.SetOptionRandomFile

Sets random file.

Component Version macOS Windows Linux Server FileMaker iOS SDK
CURL 2.5 Yes Yes Yes Yes Yes
MBS( "CURL.SetOptionRandomFile"; curl; Value { ; Encoding } )   More

Parameters

Parameter Description Example Flags
curl The CURL session handle. $curl
Value File path for SSL engine. "/tmp/test.txt"
Encoding The text encoding for text parameter.
Default is UTF-8.
Possible encoding names: ANSI, ISO-8859-1, Latin1, Mac, Native, UTF-8, DOS, Hex, Base64 or Windows. More listed in the FAQ.
"utf8" Optional

Result

Returns "OK" on success.

Description

Sets random file.
Pass a file path. The file will be used to read from to seed the random engine for SSL. The more random the specified file is, the more secure the SSL connection will become.

Starting with version 8.0 the plugin will always use UTF-8 encoding for file path on Linux and macOS. For macOS we also do the unicode character normalization for file names for you.

See also RANDOM_FILE option in CURL manual.

See also

Blog Entries

Release notes

Created 18th August 2014, last changed 12nd December 2017


CURL.SetOptionRTSPTransport   -   CURL.SetOptionRange

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins

Start Chat