Skip to content

GetDir2

Lists a directory from remote environment.

1
myFiles.GetDir2(options: FileTransferOptions):Array<RemoveFileInfo>

Parameters

FileTransferOptions options
    of transfer

Types

FileTransferOptions

Options for file transfer operations.

Password : string
Password to authenticate on remote environment. Optional.

Port : number
Port number of remote environment. Optional.

Protocol : ( "FTP" | "FTPS" | "SFTP" | "HTTP" | "HTTPS" )
Protocol to use for file transfer. Optional. Default is FTP.

RemoteHost : string
IP address or host name of remote environment.

RemotePath : string
Path of file on remote environment.

UserName : string
Username to authenticate on remote environment. Optional.