3

For my Python app,I had completed the basic settings to interact with google drive api and found it working by a test upload of a CSV file. Now I need to upload an image from a url to a newly created folder named 'myappname' in Google Drive.

Thanks in advance

1
  • 1
    Were you able to figure this out? Commented Mar 24, 2016 at 9:06

1 Answer 1

2

For now, there is no way you can directly upload file from url. There are two workaround I can think of

  1. Download file and upload it back using Files.insert()
  2. Use Save to Drive button

Using save to Drive button requires user interaction to click the button which might not be the one you want. In that case, downloading and uploading is the only way I can think of.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.