Notify complete from Piscal to LeafWeb

This commit is contained in:
2016-05-04 12:12:35 -04:00
parent e9a9ae186c
commit e0788154ec
5 changed files with 23 additions and 7 deletions
+1
View File
@@ -13,6 +13,7 @@ namespace LeafWeb.Core.Remote
public string DirectoryName { get; set; }
public bool SuppressStorageCopy { get; set; }
public PiscalLeafInputFile[] InputFiles { get; set; }
public string NotifyCompleteUrl { get; set; }
static PiscalLeafInput()
{
+3
View File
@@ -73,6 +73,9 @@ namespace LeafWeb.Core.Remote
if (leafInput.SuppressStorageCopy)
commandText += " -t";
if (!string.IsNullOrEmpty(leafInput.NotifyCompleteUrl))
commandText += $" -u {leafInput.NotifyCompleteUrl}";
var command = ssh.CreateCommand(commandText);
command.Execute();
ssh.Disconnect();