Apparently when WSPFileSavePicker is used to assign a path for saving it also makes the regular file defined by the path selected in the picker. This is not good because calling code does not know if that path is a new file to create, an existing file to overwrite, or deny writing to an existing file. In addition, the path selected may need to be a directory instead of a regular file.
Is there anyway to prevent WSPFileSavePicker from making the path (leaf node regular file) that is defined by the picker?
Apparently when WSPFileSavePicker is used to assign a path for saving it also makes the regular file defined by the path selected in the picker. This is not good because calling code does not know if that path is a new file to create, an existing file to overwrite, or deny writing to an existing file. In addition, the path selected may need to be a directory instead of a regular file.
Is there anyway to prevent WSPFileSavePicker from making the path (leaf node regular file) that is defined by the picker?