I am developing chat application REST API, and I want to upload all files (i.e. images, audio, video etc) on Google Cloud Storage.
I got the library files form the documentation of google cloud, and using it in POST method API.
Here is my code ref
https://medium.com/google-cloud/upload-images-to-google-cloud-storage-with-react-native-and-expressjs-61b8874abc49
It's not uploading the image to google cloud.
Related
My web application is used for education purpose, and im able to upload videos to youtube but now i want to use analytics api so where can i get that api and how do i use it in my nodejs application.
Here you are. Maybe this should help.
https://developers.google.com/youtube/v3/quickstart/nodejs
I have a hosted a azure api service and able to successfully upload the videos through my code under a folder "UserVideos" when i am trying to refer the link of uploaded video in video tag it is not working.
The video also does not get downloaded using this url in any browser.
http://abcorg.azurewebsites.net/UserVideos/VID20190605102000.mp4
Any help will really be appreciated
below is the way i have refereed the video url in video tag.
I am hosting my site using firebase hosting and am using express app for firebase functions . When the client sends an image in a form data , i want to store this image inside the functions folder of firebase .
Is this allowed to do ? If not what's the workaround for this ?
Also if its not possible how to upload the image file to firebase directly storage without writing the image file data to a file. Since upload function only takes a local file path to send...
There is no API to upload files to Firebase Hosting, it is purely meant for hosting static assets that you create during development. Also see How can I upload a file from AngularJS application to Firebase Hosting
Images that your users generate (often referred to as "user-generate content") can be stored in Cloud Storage, either directly from the client-side by using its Firebase SDK or from your server-side Express code through the Node SDK.
It is possible to upload a file from a URL using OneDrive's REST API as documented here. This API accepts the URL we provide and uploads the file from the URL to the intended destination.
I have been trying to find a similar REST API or library for Google Drive, but I couldn't find it yet. Kindly direct me on how to achieve this. I have already set up oAuth and am able to receive access_token and refresh_token. Uploading files from URL is an important functionality in this project.
The project is hosted in Heroku, so I can't download the file to a temporary file and upload that file. It is a NodeJS project.
I'm also looking for this solution. however, what I understand from other blog and articles is you have to download File from provided URL on your server then upload it to google drive.
As of now, i understand this. Will update this if I able to do this.
I think you are unable to use OneDrive's REST API on Google Drive since most such services are self-used only.
Yet, i know a third party online app which enables you upload files to most common cloud drives (Google Drive, OneDrive, Dropbox, Mega, etc.) from URL links. What you have to do is to create an account of this web-based app, add your cloud to its platform and import/export files to your cloud through its service. Maybe it can help you.
I have a script that suppose to upload my customers files from this page demo.dupleplay.com to my Google Cloud Platform Storage, the point that I create the script for is letting my customers upload their files on my storage without giving them the access to the Bucket. Just like Uptobox and Media Fire and those service but I did connect my service to my Google Cloud Storage instead of a normal server.
the problem is only when uploading remotly to the upload page (link provided above) the Chrome browser is giving an Network error just like when the server have a lot of traffic but it's not, any another browser is handling the upload correctly without any issue, how can I fox that with chrome?
This is the used script: https://storage.googleapis.com/duple-play.appspot.com/Archive.zip