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.
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.