kjellih 0 Newbie Poster

Hi

I am making a program, and this program is supposed to overwrite a file on a network drive. But I get a FileNotFoundException "filename" (Access Denied), even though I have the authority to do anything on this network drive. Can I provide my program with my password and username and make it "pretend" it's me?

Btw: I don't know if this is relevant information, but I am not prompted for a password or username when accessing the network drive in windows..

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.