Files.RemoveDir

Overview

Removes a directory from remote environment

boolean myFiles.RemoveDir(options: FileTransferOptions)

Arguments

FileTransferOptions options

Instance of FileTransferOptions

Returns

True if directory removed, otherwise false.

Types

FileTransferOptions

Options for file transfer operations.

{ // Password to authenticate on remote environment. Optional. Password : string // Port number of remote environment. Optional. Port : number // Protocol to use for file transfer. Optional. Default is FTP. Protocol : ( "FTP" | "FTPS" | "SFTP" | "HTTP" | "HTTPS" ) // IP address or host name of remote environment. RemoteHost : string // Path of file on remote environment. RemotePath : string // Username to authenticate on remote environment. Optional. UserName : string }

Copyright © 2010 - 2023 Emakin. All rights reserved.