impersonate not working for directory.

  • Thread starter Thread starter archana
  • Start date Start date
A

archana

Hi all,

In web apage i want to copy file from one directory to some shared
path.

I set impersonate to true. Its copying the file using
system.io.file.copy. But system.io.directory.exist for checking
output directory existance is not working.

can anyone tell me why and reason behind this.

please help me asap.

thanks in advance.
 
impersonate will only work with kerberos authentication, a credentials
forwarding turned on. ntlm security doe not support this (1 hop rule).

-- bruce (sqlwork.com)
 
Hi,

What i want is to check if directory exist or not. This directory is
on network drive.
How can i check that?

please help me asap.

thanks.
 
Back
Top