John W. Small wrote:
> It runs perfectly in a DOS window.
>> When launched from IIS via a URL, e.g. http://127.0.0.1/mycgi.exe> I get the following error:
>> delete-file: cannot delete file: "c:\inetpub\wwwroot\junk.tmp" (The
> data is invalid.; errno=13)
>> The script is supposed to delete the file junk.tmp which it does
> when not launched by IIS.
>> Any ideas of what's wrong?
One possibility is rights. If the temporary file is not
created by the web server then perhaps the user
running the web server is not allowed to delete the
file in question.
If the file was created by the script then someting
else is wrong.
--
Jens Axel Søgaard