RemoveDir¶
Removes a directory from a remote environment.
1 | |
Parameters¶
FileTransferOptions options
An instance of FileTransferOptions specifying the remote directory.
Returns¶
true if the directory was removed; otherwise, false.
Types¶
FileTransferOptions¶
Options for file transfer operations.
Password : string
The password to authenticate with on the remote environment. Optional.
Port : number
The port number of the remote environment. Optional.
Protocol : ( "FTP" | "FTPS" | "SFTP" | "HTTP" | "HTTPS" )
The protocol to use for file transfer. Optional. The default is
RemoteHost : string
The IP address or host name of the remote environment.
RemotePath : string
The path of the file on the remote environment.
UserName : string
The username to authenticate with on the remote environment. Optional.