PowerTCP FTP for .NET
SetDirectory Method



The relative or absolute path of the new directory.
Sets the server's current working directory.
Syntax
Public Function SetDirectory( _
   ByVal path As String _
) As Response
Dim instance As Ftp
Dim path As String
Dim value As Response
 
value = instance.SetDirectory(path)
public Response SetDirectory( 
   string path
)
public:
Response^ SetDirectory( 
   String^ path
) 

Parameters

path
The relative or absolute path of the new directory.

Return Value

Exceptions
ExceptionDescription
FtpProtocolExceptionThe command did not succeed.
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