For Programmers: Free Programming Magazines  


Home > Archive > ASP > January 2006 > ASP - Delete File Across Network - In Win 2003









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author ASP - Delete File Across Network - In Win 2003
Parag Gaikwad

2006-01-27, 6:55 pm

Hi,

I need to delete files across the network using web client (IE 6.x) in Win
2003 - IIS 6.0 environment.
Can someone please suggest an approach I can use to acheive this.

Will using FSO do the job or I have to go COM way.

Thanks in advance.
Parag
Bob Barrows [MVP]

2006-01-27, 6:55 pm

Parag Gaikwad wrote:
> Hi,
>
> I need to delete files across the network using web client (IE 6.x)


Do you mean you want to do this in client-side code? If so, see a
client-side newsgroup such as microsoft.public.scripting.jscript

> in Win 2003 - IIS 6.0 environment.
> Can someone please suggest an approach I can use to acheive this.
>
> Will using FSO do the job or I have to go COM way.


FSO is COM.

Why not just Windows Explorer?


--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.


Parag Gaikwad

2006-01-27, 6:55 pm

Bob,
We have an website which provides filtered list of documents to be deleted
based on a specific business logic. This file are situated across various
file servers in the network.

Using classic ASP what is the best approach to acheive this objective.

Will using FSO's delete file method do the job or a custom COM needs to be
written to do this?

Thanks,
Parag


"Bob Barrows [MVP]" wrote:

> Parag Gaikwad wrote:
>
> Do you mean you want to do this in client-side code? If so, see a
> client-side newsgroup such as microsoft.public.scripting.jscript
>
>
> FSO is COM.
>
> Why not just Windows Explorer?
>
>
> --
> Microsoft MVP -- ASP/ASP.NET
> Please reply to the newsgroup. The email account listed in my From
> header is my spam trap, so I don't check it very often. You will get a
> quicker response by posting to the newsgroup.
>
>
>

Bob Barrows [MVP]

2006-01-27, 6:55 pm

Parag Gaikwad wrote:
> Bob,
> We have an website which provides filtered list of documents to be
> deleted based on a specific business logic. This file are situated
> across various file servers in the network.
>
> Using classic ASP what is the best approach to acheive this objective.
>
> Will using FSO's delete file method do the job

Yes. just be aware of permissions. Search www.aspfaq.com for articles
containing "FileSystemObject")
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com