Good Morning,
I've been trying to use FileWebRequest to copy data over
the network using
file share (\\server\share), and it works pretty well
except when the folder
requires authentication to access. When I try to copy to
these folders
windows will give me an access denied message. However,
if I try to access
the share with IE, it asks me to log in, after I do that
I can use
FileWebRequest without a problem.
Now I know from the documentation that the
FileWebRequest.Credentials is not
implemented yet, but is there a work around on this? Can
I programmatically
(in .NET, WinAPI, or something else) log into that share
with my window
session before I use the FileWebRequest?
Thanks
Tom Cole - 05 Aug 2003 17:30 GMT
Nevermind I Found it.
Appearantly I can use the Shell Function to execute a Net
Use logon to pre-authenticate.
mkvani76 - 22 Oct 2007 03:13 GMT
>Nevermind I Found it.
>
>Appearantly I can use the Shell Function to execute a Net
>Use logon to pre-authenticate.
Can you please tell me about the "SHELL FUNCTON"?