locked
Is there any way I can use the picker to select a file from arbitrary location and then save the file to the containing folder

    Question

  • Now I use the file picker to select a file. But I want to store the file to the same folder that containing this file. Is there any method to achieve this. Because I don't find any way that I can use interface IStorageFile of picked file to get its containing folder's IStorageFolder interface. Or it is not legal??
    Tuesday, August 20, 2013 7:14 AM

Answers

  • Permissions are granted on a per-file basis when using the file picker, and per-folder when using the folder picker. So you'd have to use the picker to select the folder, then you'd have permissions to create multiple files.
    Tuesday, August 20, 2013 2:43 PM