msgraph-sdk-php icon indicating copy to clipboard operation
msgraph-sdk-php copied to clipboard

How to get started? Creating a onedrive file uploader for my website, without having to login

Open MCorbo7 opened this issue 4 years ago • 2 comments

Greetings. I have a website with very little storage, so I want to take advantage of my onedrive for business account. I took a look at all the available documentation but it's quite hard to understand as there are no examples, could you give me a hand? I want to add a simple file uploader for my users to use, they will be uploading pictures, videos and word documents as it is for my small business, I want all the files to be uploaded directly to my own account instead of theirs, so no credentials would be needed, it's a private system so there are no worries about security and such. I previously worked with Google's api and succeeded but my drive storage can't compare to my onedrives's (15GB VS 1TB basically).

This is a similar question to this one but it wasn't answered https://github.com/microsoftgraph/msgraph-sdk-php/issues/107 AB#9579

MCorbo7 avatar May 24 '21 16:05 MCorbo7

We plan on adding large file upload task to support scenarios like this. Did https://github.com/microsoftgraph/msgraph-sdk-php/wiki/Example-calls#upload-an-item help you? Have you tried the content in the documentation? I'm aware that we don't have PHP specific guidance yet.

MIchaelMainer avatar Jun 02 '21 16:06 MIchaelMainer

Thank you for replying. I had some success with the documentation I could find, still everything required users to log in into their own accounts. I'll take a look at that example.

MCorbo7 avatar Jun 02 '21 16:06 MCorbo7

Large file upload work to be tracked under #934

Ndiritu avatar Oct 06 '22 07:10 Ndiritu