Since running an executable requires elevated privileges (IUSR, the
anonymous user for ASP, is quite restricted), I suggest this approach
instead:
(a) When a file is uploaded, add an entry to a database.
(b) Have a script, or EXE, running from windows scheduler (every minute, or
every minutes, whatever)
(c) The script or EXE wakes up, checks the database, and executes any new
tasks that have been added.
(d) The script then calls a procedure that deletes/flags the processed row.
--
http://www.aspfaq.com/
(Reverse address to reply.)
"Nathan Simpson" <na***********@optusnet.com.au> wrote in message
news:#i**************@TK2MSFTNGP09.phx.gbl...
Hi,
Is it possible and how to run a program on our webserver after a file has
been uploaded? This is all server based.
We have a requirement that an end user uploads a file to our web server.
After the file has been uploaded the next line of code needs to call a
program installed on the webserver that runs a remote command on our
AS/400.
TIA
Nathan