Class CommandFile
Describes a file to be included in a CommandBundle.
Namespace: Neon.SSH
Assembly: Neon.SSH.dll
Syntax
public class CommandFile
Constructors
CommandFile()
Constructor.
Declaration
public CommandFile()
Properties
Data
The file binary data.
Declaration
public byte[] Data { get; set; }
Property Value
Type | Description |
---|---|
byte[] |
Remarks
IsExecutable
Indicates whether the file should be marked as executable after being unpacked on the Linux machine.
Declaration
public bool IsExecutable { get; set; }
Property Value
Type | Description |
---|---|
bool |
Path
The relative path of the file within the bundle.
Declaration
public string Path { get; set; }
Property Value
Type | Description |
---|---|
string |
Text
The file text. This will be uploaded encoded as UTF-8.
Declaration
public string Text { get; set; }
Property Value
Type | Description |
---|---|
string |