C# Class MCloud.Deploy.PutDirectory

Copy a local directory to the server. By default the directory will be copied to the /root/ folder.
Inheritance: PutFiles
显示文件 Open project: jacksonh/MCloud

Public Methods

Method Description
PutDirectory ( string local ) : System

Copy the specified directory to the /root/ directory on the remote server.

PutDirectory ( string local, string remote ) : System

Put the specified local directory in the specified remote directory. If the remote directory does not exist the operation will fail.

Protected Methods

Method Description
RunImpl ( Node node, NodeAuth auth ) : void

Method Details

PutDirectory() public method

Copy the specified directory to the /root/ directory on the remote server.
public PutDirectory ( string local ) : System
local string
return System

PutDirectory() public method

Put the specified local directory in the specified remote directory. If the remote directory does not exist the operation will fail.
public PutDirectory ( string local, string remote ) : System
local string
remote string
return System

RunImpl() protected method

protected RunImpl ( Node node, NodeAuth auth ) : void
node Node
auth NodeAuth
return void