I'm trying to download a file from the web onto my desktop via my form. However, I keep getting a 'Access to the path is denied' error whenever I start the download. I'm using Win7 if that changes anything... Here's where the error occurs:
//create a new file stream where we'll be saving the data strLocal = new FileStream(txtPath.Text, FileMode.Create, FileAccess.Write, FileShare.None);
strLocal is a Stream with the stored data of the file I'm downloading.