The Ultimate Guide: Uploading Files to Google Drive with NodeJS using Google Drive APIs
Vložit
- čas přidán 5. 09. 2024
- #googledrive
Hi Guy’s Welcome to Proto Coders Point. This Video Tutorial is on how to upload files to Google Drive using NodeJS.
Uploading a file to google drive by using nodejs code take several steps, which include steps:
Creating Project in Google Cloud Console.
Enabling Google Drive API.
Creating Service Account Credentials.
Creating NodeJS Project and Install Necessary Libraries.
NodeJS Code to Upload File to Google Drive.
Step By Step Guide with source code: protocoderspoi...
Support Proto Coders Point: www.buymeacoff...
_______________________________________________
Comment below for any queries 😀
Follow and support me:
🐦 Twitter: / rajatpalankar
💬 Facebook: / protocoderspoint
💸 Instagram: / protocoderspoint
Be sure to ask for help in the comments if you need any. Suggestions for future Flutter tutorials are also very welcome! :)
For mobile application development keep learning freely from proto coders point
Visit: protocoderspoi...
Thank you!!! It finally works! I had lots of problems with this before I found this tutorial
Glad it helped!
It worked. Thank you so much. I followed your blog. It is very well written. Thanks again
thnaks a lot for the video! waster over 2 hours just figuring out how to do that your video solved it in 15mins
Wow 😯
That’s makes me motivated to make more videos in future
It took me a week to solve this, and then this video popped up in the recommendations ))))
This is the video I was waiting for
I was trying to write nodejs code that can upload my files to google drive programmatically and i found this video
Very Useful
Thank you for this tutorial....
Glad I could help!
good stuff! congrats!
It would be awsome if you can do another video to get the photos from drive to display in my website.
just retrive the id in frontend
Friend, thank you very much, I want to ask you a question, and it would be very interesting if I could make another video explaining how we can bring the files from the client side in an application in React, suppose we save a gallery of images in Google Drive and how we can see them in the application developed in React? 🙏🙏
Really cool. Thanks for you work.
thanks it work😍😍😍
Welcome 😊
Hey buddy, if your service account happens to be deleted, there's a risk of losing the data you've uploaded using this method.
Thanks. That's important to know!
can u plz upload a video to monitor a Google Drive Folder and when ever a new file added, the lfow will automatically starts in Node JS? Or else the video to download a file from Node JS to local folder?
Thanks for it helped me
Glad it helped
if i wanna do react form then call that api what i need to do cuz it onl yworks with file path which i cant get from react
can i get data from using this method ?, how can i get data using this folder id ?
what is the max file size that i can upload?
can i retrieve files from google drive using nodejs?
and how how can i upload a file to google drive using an html form
great video
Thanks!
what about download the file?
Thanks broo
Hi! I'm getting this error. Could you help me? I authorized all the permissions for the email address.'
EDIT: Nvm I copied the code from your site and it works, ill check what's wrong
error: undefined,
status: 401,
code: 401,
errors: [
{
message: 'Invalid Credentials',
domain: 'global',
reason: 'authError',
location: 'Authorization',
locationType: 'header'
}
]
}
Does it go straight to the drive or does it first get uploaded to local storage or a server before moving to Google Drive?
It will directly get uploaded in google drive
how can i get the link to stream the uploaded file
upload file using throw err 401 plz help me
It’s a server error , check if you are use proper url
does it charge your account ?
thanks, it helped. Is there anyway i can do all this in HTML itself ?
You mean from frontend ??