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.
Related
My Vue web app has the feature of uploading, editing, and downloading the files, We are using Azure Blob storage to store the files.
Now I want to load the Azure Blob file in Google Docs Editor, so that user can view/edit/save the content of the files, like how it is done in Box. But i didn't find any useful documentation or sites which describes the flow to implement it.
Can anyone please suggest me the way to proceed?
I am new to Web-Development and have therefor maybe a beginner question.
So I am having a Web-App with an Angular Frontend und .Net backend, deployed on Azure.
Now users should be able to upload files (pdf, etc.) to the server which sould be stored permanetly. I would prefer to store them on a normal filesystem, so I don't want to use a database. Futhermore the files should be accessible for external services for futher processing.
I am not sure if that is possible with Azure App Services or if I need some other components. The only way I found to store files on the server is in the "wwwroot" folder. But I found no way to download them from the outside. Should I create a Web-API for that or do I think to complicated? Should I deploy my App somewhere else? What could be a way to implement this?
Thanks for any help.
You should use Azure Storage.
In Azure storage you can find mainly two options in your case. Blob and File Storage.
Blob is "more advanced" in a sense that it serves files on the browser, streaming video and audio etc.
File storage is a replacement of an on-premises file server.
Both options support file access by external services, and in addition to authorization, both are supported with Azure AD and shared access token.
I have an MSDN Subcription which allows me to download and install various Microsoft products.
I would like to download from there the Sql Server 2016 Developer edition. But for the reasons that are irrelevant for this question, I would like to keep the downloaded ISO file not on the local machine, but on an Azure File share I have in my Azure account.
Right now, I first download from MSDN to my machine and then upload to the Azure File Storage.
Wasteful, it would be much more efficient if I could somehow download it directly to Azure Files from MSDN.
I understand that if I had an Azure VM, that would be possible. But I do not. So, I am wondering if it is possible to do it anyway without an Azure VM.
Part answer to your problem.
If the URL of the file you're trying to use (ISO for SQL Server 2016 Developer edition in your case) is public (i.e. if you paste the URL in browser's address bar for example, you should be able to access that file), then you don't have to download/reupload. Azure Storage provides asynchronous server-side copy functionality where a file can be created by copying from a publicly accessible resource.
For more about copy file, please see this link. Since you didn't mention any programming language, I provided reference to REST API. But you can simply use one of the available SDKs to accomplish this.
The reason I said part answer is because I don't know how you will access the link of the file programmatically.
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
I'm trying to make an app wich will upload videofiles to the cloud. I found some examples that explain how to upload file to cloud from the local computer with using the file path.
But i can't find how can i make an interactive app in which user can download video from web page.
Have anyone seeing something similar?
take a look into http://www.windowsazure.com/en-us/solutions/media/ . It describe main scenarios and capabilities of Microsoft Azure Media Services.
Developer portal for Azure Media Services located at
http://www.windowsazure.com/en-us/develop/media-services/. It has getting starting articles covering following scenarios:
Upload
Encode
Deliver
Consume