Has anyone been able to call or run a BAT file on the server-side?
Maybe with in the SaveChunkData, If this.IsFinalFileRequest() ?
I need to Upload a CSV and on the IsFinalFileRequest to start a BAT file that will load my CSV using ORACLE SQL LOADER.
Or I can just call SQLLDR.exe from the finalEvent and pass the params (filename) to the EXE.
I tried this sample below and seems not to work in my ASHX Handler.
ProcessStartInfo startInfo = new ProcessStartInfo();
startInfo.FileName = "SQLLoader.bat";
startInfo.UseShellExecute = true;
startInfo.WorkingDirectory = @"C:\";
Process.Start(startInfo);