Session.CreateDirectory Method

Creates remote directory.

Syntax

C#
public void CreateDirectory(string path)
VB.NET
Public Sub CreateDirectory(ByVal path As String)

Parameters

Name Description
string path Full path to remote directory to create.

Exceptions

Exception Condition
InvalidOperationException Session is not opened.
SessionLocalException Error communicating with winscp.com.
See the exception documentation for details.
SessionRemoteException Session has failed.
Command has failed.
See the exception documentation for details.
TimeoutException Timeout waiting for winscp.com to respond.

Examples

Real-Life Examples

 
  library_session_createdirectory.txt · Last modified: by martin
 

Search Documentation

This page

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

Associations

Site design by Black Gate