I’m creating an application where Im sending a media file to google drive. Google drive has its nodejs api to do this. But im stuck at a point where Im not able to send the file path to nodejs which inturn creates a filestream and upload the file to google drive. when I run the nodejs script locally on my machine it works fine because the media file is in the same folder as the script.
How do i get this working? How do i pass the media file to nodejs and then to google drive? Please help me.