It depends on whether the upload triggers or something else. There are a
couple of ways I can think of to handle this:
1. Use a Process object to process the file when the upload is finished.
2. Create a service that uses a FileWatcher to watch for files to be
processed that processes when a new file appears. This is not driven by the
ASP.NET page.
3. Create a process that runs every once in awhile to see if there are
unprocessed files. Use a scheduler to run it. This is similar to #2, but does
not require learning how to use the FileWatcher.
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
***************************
Think Outside the Box!
***************************
"Chris" wrote:
Hi,
How can I execute a batch file form asp.net app. I have a form which a user
uploads a text file. after the file is uploaded I want a batch file to then
execute and do some work.
Thanks