c# - Upload file to Skydrive with special characters and spaces -
i using livesdk windows phone 8 (latest sdk version) upload files:
liveoperationresult res = await liveclient.backgrounduploadasync(_skydrivefolderid, new uri("/shared/transfers/" + mylocalfilename, urikind.relative), overwriteoption.overwrite);
this works fine when mylocalfilename
contains normal ascii characters "filetest1234.zip". when filename contains spaces, or special characters such "ä", "ß", etc. empty (0 bytes) file uploaded skydrive (the name of remote file correct). think there going wrong when local string file name converted uri object.
one option create temporary local file copy standard name, upload this, , rename other name on skydrive.
are there better ways fix problem?
Comments
Post a Comment