Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP 3 Classic ASP Active Server Pages 3.0 > Classic ASP Components
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Classic ASP Components Discussions specific to components in ASP 3.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Components section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Display Modes
  #1 (permalink)  
Old December 18th, 2003, 09:07 AM
Registered User
 
Join Date: Nov 2003
Location: , , Austria.
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Berni016x
Default Can't delete a file with the FileSystemObject

hello!

I've got a problem which i can't find a solution:
Dim fso
Dim oFile
Set fso = Server.CreateObject("Scripting.FileSystemObject")
oFile = fso.GetFile("...")
oFile.OpenAsTextStream()
'Read some data
oFile.Delete '<<--- here an error occurs: access denied. The IUSR has got all rights at this file and at this directory!

Please help me!
I also tried the following:
Set oFile = Nothing
fso.DeleteFile "..."
But this also doesn't work!

thx a lot!
Bernhard Wurm

  #2 (permalink)  
Old September 27th, 2006, 02:14 PM
Registered User
 
Join Date: May 2006
Location: Desamparados, San Jose, Costa Rica.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

did you close it?

  #3 (permalink)  
Old May 24th, 2009, 06:56 AM
sanju121
Guest
 
Posts: n/a
Default

Had the same problem and fixed it with www.pathtoolong.com
  #4 (permalink)  
Old November 12th, 2010, 01:39 PM
Registered User
 
Join Date: Nov 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Long Path Tools

Hy. I runned into that damn problem too. And after days of searching I finally

found this software: Long Path Tool.

It's GREAT. You can find it here: http://www.deletelongfile.com
  #5 (permalink)  
Old August 30th, 2013, 04:41 AM
Registered User
Points: 3, Level: 1
Points: 3, Level: 1 Points: 3, Level: 1 Points: 3, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2013
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default error cannot delete file

Please try longpathtool and get the solution of above relevant issue.It was really helped me to get the right solution which worked for me.


Thanks
Antonnys
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to delete file System.IO.Delete error maricar C# 13 March 14th, 2014 06:50 AM
FileSystemObject - UTF8 File Format itHighway Classic ASP Databases 0 May 25th, 2006 09:14 PM
JSP file upload and delete file pandjie JSP Basics 0 January 29th, 2005 09:49 PM
Delete A File jmss66 VB How-To 5 August 10th, 2004 11:18 AM
Create/Delete files w/ASP using FileSystemObject John K. King Classic ASP Basics 3 August 17th, 2003 06:53 PM



All times are GMT -4. The time now is 01:19 AM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.