Edit & Delete Files in a directory

They have: 34 posts

Joined: Feb 2002

Does any one know of any good tutorials on how to edit & delete files in a web directory? If no then do you know how? :0)

Mark Hensler's picture

He has: 4,048 posts

Joined: Aug 2000

What tools do you want to use? telnet/SSH, server-side langage (which), etc.?

They have: 34 posts

Joined: Feb 2002

asp

Mark Hensler's picture

He has: 4,048 posts

Joined: Aug 2000

ASP isn't my strong area, so I'll let one of the other guys answer that.

In the mean time, try searching:
http://www.asp101.com
http://www.aspin.com
http://www.4guysfromrolla.com

Mark Hensler
If there is no answer on Google, then there is no question.

Abhishek Reddy's picture

He has: 3,348 posts

Joined: Jul 2001

Use the FileSystemObject and/or File objects to handle files. Both methods allow you to manipulate files. You can copy, delete and move using the File object and edit text documents using FileSystemObject. Both methods can return file properties and attributes. Wink

The topic's too deep to get into in one post, so I'll just point you to a couple of other resources. Check out the ones Mark's posted as well.

http://www.aspin.com
http://www.programmersresource.com
http://www.asp-help.com

Sorry I can't help much now (nearly bedtime Laughing out loud). If you want more, email or PM me and I'll be glad to help. Smiling

Peter J. Boettcher's picture

They have: 812 posts

Joined: Feb 2000

Check out the samples at MSDN, http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/jsfsotutor.asp

It should handle most of your questions.

PJ | Are we there yet?
pjboettcher.com

detox's picture

They have: 571 posts

Joined: Feb 2001

I would use the stream object in ASP. It is a lot faster that using FSO. There was a really great article on it from 4guysfromrolla.com just go to the site and do a search for it.

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.