ClientSftpChannel - MkDir

[C]

__cdecl FlowSshC_ClientSftpChannel_MkDir(
  FlowSshC_ClientSftpChannel* channel,
  wchar_t const* path,
  FlowSshC_FileAttrs const* fileAttrs,
  FlowSshC_SftpHandler handler,
  void* handlerData);

[C++]

[ClientSftpChannel] void MkDir(
  wchar_t const* path,
  FileAttrs const& fileAttrs,
  RefPtr<SftpHandler> const& response);

[C#]

[ClientSftpChannel] public void MkDir(
  string path,
  FileAttrs fileAttrs,
  SftpHandler response);

Parameters

  • [C] channel: FlowSshC_ClientSftpChannel pointer.
  • [C] handler: A SftpHandler function to be used with the request. Optional.
  • [C] handlerData: An application-defined value to be passed to the handler. Optional.
     
  • path: The remote directory to be created. *
  • fileAttrs: A FileAttrs structure/class. For unspecified attributes the server may use a default value.
     
  • [C++/.NET] response: A SftpHandler object to be used with the request. Optional.

Remarks

Creates a new directory. The path up to the new directory must exist for the request to succeed.
* See ClientSftpChannel's remarks about local and remote file namings.