//Create Script File
scriptLocation = this.CreateScriptFile();
Begin for ProcessStartInfo#region Begin for ProcessStartInfo
//Run the Upload event
ProcessStartInfo processInfo = new ProcessStartInfo();
//Set the Shell Command(the plugins' path)
processInfo.FileName = this.m_ShellCommand;
//Don't show console window
processInfo.CreateNoWindow = true;
//don't use shell to execute this script
processInfo.UseShellExecute = false;
//Open Process Error Output
processInfo.RedirectStandardError = true;
//Open Process Input
processInfo.RedirectStandardInput = true;
//Open Process Output
processInfo.RedirectStandardOutput = true;
//Get process arguments
string arguments = "";
arguments += this.m_UserID + "@" + this.m_ServerName + " "; //Login Server with specified userid
arguments += "-pw " + this.m_Password + " "; //Login with specified password
arguments += "-P " + this.m_Port + " "; //Connect to specified port
arguments += "-b " + scriptLocation + " "; //use specified batchfile
arguments += "-be"; //don't stop batchfile processing if errors

