Studyxnet / FilePicker-Plugin-for-Xamarin-and-Windows

FilePicker Plugin for Xamarin and Windows
MIT License
74 stars 52 forks source link

FilePicking from Google Drive, doesn't get the Htttp path #44

Open Fox4148 opened 7 years ago

Fox4148 commented 7 years ago

{System.IO.DirectoryNotFoundException: Could not find a part of the path "/document/acc=1;doc=3304".\n at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x001eb] in :0 \n at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share) [0x00000] in :0 \n at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)\n at System.IO.File.OpenRead (System.String path) [0x00000] in :0 \n at Plugin.FilePicker.FilePickerImplementation+<>c__DisplayClass5_1.b1 () [0x0000b] in <46f2bed8df38453182923b5e7eae4c06>:0 \n at Plugin.FilePicker.Abstractions.FileData.GetStream () [0x00012] in C:\Users\Sida\Desktop\RepMo_Map_Dev\RepMo_Map\FilePicker\FilePicker\Plugin.FilePicker.Abstractions\FileData.cs:95 \n at Plugin.FilePicker.Abstractions.FileData.get_DataArray () [0x00001] in C:\Users\Sida\Desktop\RepMo_Map_Dev\RepMo_Map\FilePicker\FilePicker\Plugin.FilePicker.Abstractions\FileData.cs:32 \n at RepMo_Map.templates.pgTracksMain+d24.MoveNext () [0x00140] in C:\Users\Sida\Desktop\RepMo_Map_Dev\RepMo_Map\RepMo_Map\RepMo_Map\templates\popup\pgTracksMain.xaml.cs:215 }

when im trying to pick a file from google drive accout, the path isnt right

ArtjomP commented 7 years ago

The same is with OneDrive on Android