Setting file/directory permissions

G

Guest

Hi,

Is there a simple way to set file/directory permissions programatically in
..net.

All I want to do is to check that I have write access to a file or
directory. If I don't have access I want to change the permission of the file
before writing.

I assume that the assembly that makes the change would need some kind of
permission to do it.

The files are installed on an ISPs web server, and for some reason unknown
the permissions change unpredictably, could be to do with ftp and frontpage
server extensions but I am not in a position to make any changes there.

Many thanks in anticipation,

Steve.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top