0

I am trying to upload a zip file to Google drive account using curl. Before uploading , i need to create a folder using curl and to that folder i need to upload the zipped file

i uploaded the file using the link - upload zip file to google drive using curl

Shilpa
  • 1
  • 2
  • How to create a folder on Google Drive using curl in shell – Shilpa Aug 17 '19 at 06:00
  • A folder is a file with the MIME type `application/vnd.google-apps.folder` and with no extension. To upload a file under the folder, you need to specify `parents: [folderId]` in the metadata field of the multipart/resumable file upload request. Read Google drive API guide for more information. (https://developers.google.com/drive/api/v3/folder) – Sourav Ghosh Apr 06 '20 at 19:36

0 Answers0