문제

My main objective is to upload files to drive from my device ( a web application in JS) and read files from Drive. Exploring for the same scenario , i was confused with two API-SaveToWeb and FilePicker , from Google drive , which actually provides the same functionality (upload files to drive ) .

Help me to understand which one is used in which scenario ?

도움이 되었습니까?

해결책

In some scenarios you could use either, but it depends a bit on your use case and the UX you want.

The save to drive button is useful when you know the specific file that the user will want to save. Its a very simple UX where you just put the button next to the specific file(s).

The file picker is used when you want the user to select the file that they will update. Its a little more involved, but gives the users more control over what they select.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top