NameCollisionOption is NOT WORKING with W8.1 RRS feed

  • Question

  • file.copyAsync(myLocalfolder, file.name, Windows.Storage.NameCollisionOption.generateUniqueName).done(function (newfile) {

    console.log(newfile.name); // <-- SHOWS THE SAME NAME EVEN THO IT CREATED A COPY WITH A DIFFERENT NAME BECAUSE THERE IS ALREADY A FILE WITH THE SAME NAME IN THAT SAME FOLDER.. WHYYYYYY? PLS dont tell me MICROSOFT created this function without returning the NEW NAME.. if so it would be the MOST r***culous flaw ever. I think even a CHILD would expect it returning the new name in case it created a new copy with a new name


    Friday, January 24, 2014 7:02 PM

All replies

  • I can't repro this. Are you sure you have a conflict?

    If you still reproduce this please share a minimal sample demonstrating the problem to your SkyDrive, along with clear repro steps.


    Saturday, January 25, 2014 1:36 AM