File access on other server

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I try to access a folder on an other server, that have share the folder by a standard share name, like \\TestServer\sharename

But the I can't access to the share folder from the server that's runnes the asp.net web site.

Is it possibility to add a user name and password to the file sahre, or access the share folder on a other way ?

/Jan

Some code
try
{
string[] galleryfolderarray = System.IO.Directory.GetFiles spamMailTargetPath,"*");
return galleryfolderarray;
}
catch
{
return null;
}
 
But the I can't access to the share folder from the server that's runnes
the asp.net web site.

um.. does it say something?

--
Hope this helps,
Zeeshan Mustafa, MCSD


Jan Nedergaard Jensen said:
I try to access a folder on an other server, that have share the folder by
a standard share name, like \\TestServer\sharename
But the I can't access to the share folder from the server that's runnes the asp.net web site.

Is it possibility to add a user name and password to the file sahre, or
access the share folder on a other way ?
/Jan

Some code
try
{
string[] galleryfolderarray = System.IO.Directory.GetFiles spamMailTargetPath,"*");
return galleryfolderarray;
}
catch
{
return null;
}
 
Back
Top