Thread View: comp.lang.javascript
1 messages
1 total messages
Started by BigBear
Tue, 28 Mar 2000 00:00
HELP!: File System Object in ASP code generates Permission Denied error on DeleteFile...
Author: BigBear
Date: Tue, 28 Mar 2000 00:00
Date: Tue, 28 Mar 2000 00:00
24 lines
1869 bytes
1869 bytes
I have an ASP application, which uses remote scripting. The server side script is sitting in a loop looking for a text file to arrive on a server. Once the file arrives, I open it, read it, create a web page with info from the text file, close the file and then delete it. I need to delete it because that's the only way I know the file is ready. Problem #1 - When I call the fso.DeleteFile(filespec, force) method, I get a remote scripting error that says "Permission Denied". I can't even open the file for writing, only reading. I also can't change the file's attributes. Is this an NTFS issue? Problem #2 - While sitting in a while loop that simply checks to see if the file exists, I eventually get a remote scripting error if the file doesn't show up fairly quickly. Is there a way to control this? I have already set the Session.Timeout property to 3 minutes, but it seems to timeout around 25 seconds. If anyone has any information on how to fix this problem I would appreciate a helping hand. Barry Lulas NetManage Inc. barry.lulas@netmanage.com bigbear@apk.net
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads