OneDrive direct download URLs for files and file versions -
i putting question in 2 lines
does onedrive supports direct download urls files? urls returned onedrive same mobile , web ? onedrive returns file versions via rest api calls ?
read below more details.
i building standalone app uses various onedrive rest apis different operations, e.g. upload/download/update/browse document/folder. have following needs not able accomplish based on readings onedrive rest api support page https://msdn.microsoft.com/en-us/library/office/dn659752.aspx.
- direct download urls: want give user of app facility directly downloading file. know 'link' property of file object gives direct view url takes user onedrive account , there user can download file clicking download button. need link direct download of file (such link when typed in browser has authenticated onedrive session should directly prompt download box.)
- are direct view/download link different browser , mobile cients?
- versions: how version numbers files programmatically. not see version info in json objects returned via rest calls. [i have read in 1 of post versions not supported ]
https://msdn.microsoft.com/en-us/library/dn631834.aspx?f=255&mspperror=-2147217396 link shows json representation of file object.
- direct download url-
see link download url getting blob data xhr request- yes view/download different browser , mobile, see below access download box.
hope trying access file download folder!!
if you, can use url this-
file:///storage/sdcard0/download/file-name.mp4
this worked me.
Comments
Post a Comment