December 21st, 2009, 08:55 AM
How to apply Username and Password for Network Drive?
I am trying to save a report in a network drive "Z:" (ftp).
string LogFileName = @"\\10.100.64.17\ftp-share\TEST\" + strDateTimeStamp + @"\TestReport.xml";
How can I add UserName and Password for access to save in that folder on the network drive? In some machines it asks for password, in some machines its already connected so doesnt ask for password.
Thanks in advance.
December 21st, 2009, 10:19 AM
Re: How to apply Username and Password for Network Drive?
win7 x86, VS 2008 & 2010, C++/CLI, C#, .NET 3.5 & 4.0, VB.NET, VBA... WPF is comming
remeber to give feedback
you think my response deserves recognition? perhaps you may want to click the Rate this post
link/button and add to my reputation
private lessons are not an option so please don't ask for help in private, I won't replay
if you use Opera and you'd like to have the tab-button functionality for the texteditor take a look at my Opera Tab-UserScirpt; and if you know how to stop firefox from jumping to the next control when you hit tab let me know
Tags for this Thread
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.