PowerTCP FTP for .NET
CreateDirectory Method



Absolute or relative path to the new directory.
Sends the "MKD" command to the server.
Syntax
Public Function CreateDirectory( _
   ByVal path As String _
) As Response
Dim instance As Ftp
Dim path As String
Dim value As Response
 
value = instance.CreateDirectory(path)
public Response CreateDirectory( 
   string path
)
public:
Response^ CreateDirectory( 
   String^ path
) 

Parameters

path
Absolute or relative path to the new directory.

Return Value

Exceptions
ExceptionDescription
FtpProtocolExceptionThe command did not succeed.
Remarks

Characters specified in the remote path are sent to the server unmodified. If the path contains characters that are invalid for the server host filesystem, it may cause the operation to fail with an FtpProtocolException.

See Also

Reference

Ftp Class
Ftp Members


PowerTCP FTP for .NET Documentation Version 6.1
© 2023 Dart Communications. All Rights Reserved.
Send comments on this topic