I always get the below error while trying to upload the photo chosen from pictures.
System.ArgumentException: Input parameter 'uploadLocation' is invalid. 'uploadLocation' must be rooted in \shared\transfers. Parameter name: uploadLocation
The path of the image files chosen was:
C:\Data\Users\Public\Pictures\Camera Roll\WP_20130228_001.jpg.
Any idea how I can supply the image file in the expected format?
MainPage.client.BackgroundUploadAsync("ToFolder", new System.Uri("C:\Data\Users\Public\Pictures\Camera Roll\WP_20130228_001.jpg"), OverwriteOption.Overwrite);