Hard Delete - Trying to use an activeX control to delete

They have: 2 posts

Joined: May 1999

Hi,
I am trying to delete a file off the server (IIS3.0) and the controller that I am using is can not delete read-only files... I am trying to use: SetAttr "FileName",0
to set the file to normal then execute the delete function...

Here's the delete code:
objFSO.DeleteFile(FileName)

FileName is a declared variable that has all the path and file info from the form... Any ideas?? The controller has no difficulty deleting a read-only file, but I just can't make it change into a normal file...

Thanks

They have: 2,390 posts

Joined: Nov 1998

I have contacted someone who might be able to help you.
Thanks,
JP

----------
The Webmaster Promotion and Resource Center.
http://www.what-next.com

They have: 5,633 posts

Joined: Jan 1970

Darkness,

I apologize for not getting to this post earlier but I have been out of town for a week.

If you could send me the ENTIRE could that you are using via email (send it to [email protected]), I will see what I can come up with.

----------
Dynamic Internet Solutions : http://www.dids.com
UNIX and Windows NT Hosting

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.