Here in this method we will be making up a regular Web form script that will be written in HTML and CSS. We will be then uploading this to the Google Drive through using Google Scripts. This will be hence help in setting your Google Drive as such so that others can also upload the content to your Google Drive cloud storage.

Also Read:  How To Backup Restore Whatsapp Chats With Google Drive


1. First of all you will have to create up the script that you will be then uploading to your Google Drive. The Sample form of that script is given below but you can modify it by your own needs so as to add some other functions or settings.

Open Notepad copy and paste the below code and then save the file as form.html and then upload it in your google drive.


form id=”newform”

labelYour Name/label
input type=”text” name=”myName”

labelPick a file/label
input type=”file”name=”myfile”

input type=”submit” value=”Upload File” oneclick=”;return false;”

2. With this form there will be a new Folder created in the Google Drive where the uploaded files will be saved. This will be a public folder where anyone can upload up the content to your account.

3. This form has three fields where you can have text field, file input field and the submit button. You can also modify the script to add up more fields of your wish.

Receive Files Directly To Your Google Drive
Receive Files Directly To Your Google Drive

4. Now to authorize the script you will have to open up the doGet that you can either start through Run menu. After that you have to choose Deploy as the Web App from the publish menu that will appear. Click on the Save New version option from there and then select up the “Choose anyone, even anonymous” option after that.

5. You will now get a form URL from where anyone can access up your Google Drive so as to upload the content. That’s all what you will have to do and one thing that you can do is now modify the script according to your way out and then publish it using the Google Scripts from where you will get up the URL by the same method that everyone can use to upload the content to your Google Drive cloud storage.

Note: This can be a vulnerable path for the hackers to access your account files, so better is to share the URL only with the trusted users.

Also Read: How to Save YouTube Videos On Google Drive


Leave a Reply

Your email address will not be published. Required fields are marked *