Skip to content

MakeDir

Creates a new directory on a remote environment.

1
myFiles.MakeDir(options: FileTransferOptions):void

Parameters

FileTransferOptions options
    Options for the remote directory.

Remarks

Creates a folder using the RemotePath property of the FileTransferOptions.

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.