Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FoxISAPI.dll does not delete \script\fox????.ini files
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00225261
Message ID:
00225541
Vues:
21
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?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform