41 lines
961 B
C#
41 lines
961 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using System.Data.SqlClient;
|
|
using System.IO;
|
|
using System.Configuration;
|
|
using System.Data;
|
|
using System.Diagnostics;
|
|
using System.Collections;
|
|
using System.Net;
|
|
using System.Globalization;
|
|
using ICSharpCode.SharpZipLib.Zip;
|
|
using SmartFTPThread.Logic;
|
|
|
|
namespace SmartFTPThread
|
|
{
|
|
|
|
|
|
|
|
public class Program
|
|
{
|
|
|
|
|
|
static int Main(string[] args) {
|
|
string ambiente = "SVILUPPO";
|
|
string tngServer = "";
|
|
string tngJobset = "";
|
|
string tngJob = "";
|
|
if (args.Length == 3) {
|
|
ambiente = ConfigurationManager.AppSettings["ambiente"];
|
|
tngServer = args[0];
|
|
tngJobset = args[1];
|
|
tngJob = args[2];
|
|
}
|
|
return SmartFTPThread.Logic.FtpProcessSeparated.StartProcessing(ambiente, tngServer, tngJobset, tngJob);
|
|
}
|
|
|
|
|
|
}
|
|
}
|