1
votes

I have a URL of a document hosted at a provider and want to upload it to Google docs using the Google Docs API. Is there any way to achieve it? I have been searching for a while .

1
Have you figured it out ?OnlyHope
@OnlyHope : Nope , it seems to be a dead end.Raghavan

1 Answers

0
votes

The following worked for me. It will return with a File Object.

DocsList.createFile(UrlFetchApp.fetch(fileURL);