G
Guest
Hi,
I've been trying to use Directory.GetFiles() and also
DirectoryInfo.GetFiles() to list files on a remote server using
"\\server_name\dir_name" like paths. It works fine on a test windows app, but
I get an access error message when the code is running on a asp.net app.
First I thought it was just a matter of credentials, so I started to use
windows authentication and impersonate the current user, but I still got the
same message.
Any thoughts? Is it possible to list files on a remote server when code is
running on an asp.net app?
Regards,
Daniel
I've been trying to use Directory.GetFiles() and also
DirectoryInfo.GetFiles() to list files on a remote server using
"\\server_name\dir_name" like paths. It works fine on a test windows app, but
I get an access error message when the code is running on a asp.net app.
First I thought it was just a matter of credentials, so I started to use
windows authentication and impersonate the current user, but I still got the
same message.
Any thoughts? Is it possible to list files on a remote server when code is
running on an asp.net app?
Regards,
Daniel