Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FoxISAPI.dll does not delete \script\fox????.ini files
Message
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00225261
Message ID:
00225541
Views:
20
If this were NT I'd tell you it's a permission problem. The anonymous Web
user needs to have rights to read and write in the directory that FoxISAPI
lives. By default this path only has Execute rights.

Under NT, you can fix this with running DCOMCNFG and configuring your server
to impersonate a specific user account, but only if you use EXE servers.

None of this should matter under Win98 though, although if you use
Web security it may apply...

You might want to try to open the INI file with FOPEN() and check the
FERROR() to see what the error code is...

+++ Rick ---

>Win98, VFP6.0.
>I try to develope a test internet OLE server. The problem i have is that after testing the web page i see a bunch of FOX????.ini files created by FoxISAPI.dll in the scripts folder. They say that FoxISAPI.dll deletes the temporary .ini files after calling OLE server method. Apperantly it does not. What's more frustrating i can not delete the file from my method.
>
>Procedure Echo
>lparameters p1, p2, pDisp
>pDisp=0
>cResult='echo'
>delete file (p2)
>* p2 contains the full path eg 'C:\website\scripts\fox1234.ini'
>return cResult
>
>delete file (p2) does not delete.
>
>TIA.
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform