hi, i am fairly new to wp/silverlight, and i thank you for having this nice library.
i want to upload a file, which i want to pass to a PHP script.
this is what i use:
request.Data.Add("title", "mytoolkittitle"); // POST data
request.Files.Add(new HttpPostFile("file", "random.jpg", filepath)); // POST files
request.ConnectionTimeout = 30;
the filepath is a string made of this, which also consists of the fileNAME after choosing a photo via photoChooserTask. is is correct that the filename is included?
filepath = e.OriginalFileName;
after i try an upload, the debugger points me to this, with a popup which says "UnauthorizedAccessException":
// display exception
What do I need to consider with the paramters of "HttpPostFile"?