Meet us at at Real World in Orlando, Florida.

All functions   Mac OS X   Windows   Crossplatform   Components   Guides  
New in version: 2.0   2.1   2.2   2.3   2.4   2.5   2.6   2.7   2.8  

CURL.SetOptionSSHPublicKeyfile

Component: CURL
Version: 2.5
Mac OS X: Works
Windows: Works

MBS( "CURL.SetOptionSSHPublicKeyfile"; handle; value )

Parameters

Parameter Description Example value
Handle The CURL session handle. $curl
Value The new public key file path. "c:\mykey.pub"

Result

Returns "OK" on success.

Description

Sets the file path for the public key file.
If not used, libcurl defaults to using ~/.ssh/id_dsa.pub.

For a SFTP transfer (= file transfer over SSH), you would tell the plugin your public and private keys, so the plugin can login.

Feedback: Report problem or ask question.




Links
MBS REAL studio Plugins - Pfarrgemeinde Messdiener Nickenich