Skip to content

MakeDir

Creates a new directory on remote environment

1
myFiles.MakeDir(options: FileTransferOptions):void

Parameters

FileTransferOptions options
    Options for remote directory.

Returns

This method does not return any value.

Remarks

Creates a folder by remote path property of FileTransferOptions

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.