TrustCore SDK NanoSSH API reference  version 7.0
sftpClientSettings Struct Reference

Callback function pointers for NanoSSH Client SFTP operations. More...

Data Fields

sbyte4(* funcPtrCloseFileUpcall )(sbyte4 connectionInstance, sftpcFileHandleDescr *p_sftpFileHandleDescr)
 Respond to a file close request. More...
 
sbyte4(* funcPtrOpenFileClientUpcall )(sbyte4 connectionInstance, sftpcFileHandleDescr *p_sftpFileHandleDescr)
 Respond to a file open request. More...
 
sbyte4(* funcPtrReadFileUpcall )(sbyte4 connectionInstance, sftpcFileHandleDescr *p_sftpFileHandleDescr)
 Respond to a file download request. More...
 
void(* funcPtrStatus )(sbyte4 connectionInstance, ubyte4 statusCode, ubyte *message, ubyte4 messageLength, ubyte *pLanguage, ubyte4 languageLength)
 Respond to a file open request. More...
 
sbyte4(* funcPtrWriteFileUpcall )(sbyte4 connectionInstance, sftpcFileHandleDescr *p_sftpFileHandleDescr)
 Respond to a file upload request. More...
 

Detailed Description

This structure is used for NanoSSH Client SFTP configuration. Each callback function should be customized for your application and then registered by assigning it to the appropriate structure function pointer(s).

Since
1.41
Version
5.4 and later

To use this structure's callbacks, the following flag must be defined:

  • __ENABLE_MOCANA_SSH_FTP_CLIENT__

The documentation for this struct was generated from the following file: