1
Vote

Uploading a read-only file fails

description

If one of the files that you want to upload is read-only (locally) the program excepts.
 
The fix is changing the following line (line 83) in Uploader.cs
fileStream = File.Open(filePath, FileMode.Open);
to
fileStream = File.Open(filePath, FileMode.Open, FileAccess.Read);

file attachments

comments

MartinJensen wrote Jul 5, 2012 at 11:47 AM

I have added a fixed version of the Uplaoder.cs file