If you work in IT, learn how BetterCloud’s Unified SaaS Management platform can help you manage G Suite and other applications. Also, learn how you can 10x your G Suite productivity

Have you ever been in the situation when you needed someone to share a digital file with you but the file is too large to send as an email attachment? Sharing that file with you in Google Drive is a great alternative, but what happens if the person does not have a Gmail or GAFE account?

Well, it turns out there is a script that automatically provides you with a URL that allows any user to upload a file to a designated folder in your Google Drive. The beauty of this script is that anyone can send the file to your Google Drive without signing in to a Google account! Here is how to set it up (no scripting ability required).

Link to the script

Click here to watch this video on YouTube.

Shares

UP NEXT: Admins: How to Change Your Organization's Office 365 Theme

Leave a Reply

61 Comments on "Allow Anyone to Upload Files Directly to Your Drive"

Notify of
avatar
Sort by:   newest | oldest | most voted
Kevin Francke
Guest
Kevin Francke

I tried out the script for the Goggle Drive Dropbox…. but I get the following error after I click on the ‘upload file’ button:
‘Exception: Access denied: DriveApp.’

I assume that our domain administrator has disabled external scripts…… is there a work around?
Would really like to use this feature.
Appreciate your help.
Kevin

Dylan Press
Guest
Dylan Press

Not sure of a workaround if your administrator has disabled external scripts.

ASher
Guest
ASher
Jason Smith
Guest
Jason Smith

I use Google drive lots at work (our entire school district uses Google apps). When I upload a document to Drive there are times when I would leave it in it’s original format (Word, PDF, etc.) and other times when I would like to convert it to Google (Docs, Sheets, etc.). Is there a setting in Drive that will ask me if I want to convert (or leave alone) a file before I upload it?

Donna Stajkowski
Guest
Donna Stajkowski

That option use to exist, but seems to be gone with the current version. I miss it! I convert most everything, but I have others I teach who would like to be able to decide and not have to remember to change the setting.

Jean Yang
Guest
Jean Yang

Yes. You can change the settings in your Google Drive. Here are the directions
https://support.google.com/drive/answer/2424368?co=GENIE.Platform%3DDesktop&hl=en
Hope that helps!

Rob Petrie
Guest
Rob Petrie

There is a setting that will convert uploads to Google files. You´ll find it in Google Drive settings.
When you have a file already on your drive there are convertion possible via ´Download as´ or ´Open as´

Teresa
Guest
Teresa
From your Drive, there is a gear in the top, right. Click the gear and choose Settings. In the settings window, there is a box you can check to Convert uploaded files to Google Docs editor format. This option will automatically convert all uploaded files to the Google Doc format. If you want them left in their original format, you need to leave the box unchecked. I leave my box unchecked and upload them in their original format. When and if I need to convert them, I simply choose the option to Open with (Docs, Slides, Sheets, etc.) and it… Read more »
Diane McCormack
Guest
Diane McCormack

Click on the gear icon. Checkmark the box if you wish to automatically convert to a Google file.

Juliet
Guest
Juliet

I loved this script and your video makes it incredibly easy to do. I am trying to use it for photo sharing and is there a way for someone to upload multiple files instead of just one? Thank you

Juliet
Guest
Juliet

Or… is there a way to allow someone to upload a folder instead of just one file or multiple files? Any feedback would be helpful. Thanks.

Justin
Guest
Justin

Looking for the same as Juliet (Folder upload) and also how to change the logo. I edited line 11 on the form.html but it still shows the original logo after being published. Thanks

Susan
Guest
Susan

could you put all of the photos in a zipped file and then just upload the zip file?

Rob Petrie
Guest
Rob Petrie

After you´ve made changes you have to publish it again and the url to your image must be public

Chris
Guest
Chris

To change the logo, you have to make sure the url to the new picture you want to use is publically accessible as well. I’ve heard this method is being deprecated by Google, but for now you can get a direct embeddable link to a drive file by using the following format:
https://googledrive.com/host//
Where is the random characters you see in the url when browsing that folder in Drive. (ie. drive.google.com/drive/folders/).

Dylan Press
Guest
Dylan Press

Justin, when editing line 11 for a new image, make sure you are adding in a direct link to a publicly hosted image. I just tried it and successfully changed the image.

Juliet + Justin, I am looking into what edits need to be made to the script to allow folder uploads and multiple file uploads. I will get back to you soon with what I find.

Nonob
Guest

I actually found the answer to my question. Here’s a video that shows how to edit the image. https://www.youtube.com/watch?v=NT_6lP2tnic

Nonob
Guest

I actually found the answer to my question. Here’s a video that shows how to edit the image. https://www.youtube.com/watch?v=NT_6lP2tnic

Dylan Press
Guest
Dylan Press

Unfortunately folders and multiple file uploads are not possible. Just checked with scripts creator 🙁

Rob Petrie
Guest
Rob Petrie

via zip

Frank
Guest
Frank

Smart – thanks for sharing 🙂
Could you put the link in the description ?
“Is it an security-risk that all can upload to the folder on google drive”..?
Can users share the content of the folder on Google drive with others..?

Dylan Press
Guest
Dylan Press

Frank, great questions!
1. I added the link to the description 🙂
2. Google Drive scans all Drive uploads for viruses and security risks and the script does not give external users access to your Drive so this does not pose a security risk.
3. You become the sole owner of any of the files that are uploaded so you can share them as you wish. The uploader does not have access to the folder, let alone ownership.

James Dvorak
Guest

When we tried this, we ran into a 25-ish MB file size limitation. Is that a Google limitation or a limitation set by our local GAFE admin?

Dylan Press
Guest
Dylan Press

Did you get an error message? What did it say?

Alex
Guest
Alex

I get the error message: “Exception: File space.zip exceeds the maximum file size.” The file is 40mb

Alex
Guest
Alex

I get the error message: “Exception: File space.zip exceeds the maximum file size.” The file is 40mb

Booth
Guest
Booth

It went to my personal drive- how can I stipulate a particular Google Drive?

Dylan Press
Guest
Dylan Press

It will go to whichever Google Drive is associated with the profile you were logged in as when you created the script and published it.

Catherine
Guest
Catherine

OK, I followed these instructions, but I do not find a “Google Dropbox” folder in My Drive. Any suggestions? Could this be blocked in the Google Admin settings?

Dylan Press
Guest
Dylan Press

Have you tried uploading anything via the web interface the script creates?

Matt Rowell
Guest

This was looking great unitl I reached an error from Google Drive that “There are currently too many people viewing this file. Please try again later.” Is there any way for the Gooru to post the content of the script in plain text so that we can gain access to it other than waiting for the queue to open up on this particular file?

Dylan Press
Guest
Dylan Press

Try again now and see if you can access.

LMP
Guest
LMP

Is there a way to change the image (google logo with the Native American)?

Dylan Press
Guest
Dylan Press

Yes, to change this just edit Line 11 in the form.html tab

Nonob
Guest

Could you please give an example of how to “edit line 11.” It is blank so editing is a mystery for this non coder. thanks

Nonob
Guest

Could you please give an example of how to “edit line 11.” It is blank so editing is a mystery for this non coder. thanks

Zara Altair
Guest

Wowser! Awesome. Thank you so much!

Keith
Guest
Keith

is there anyway to identify who uploaded a particular file in the “google_dropbox” folder?

Dylan Press
Guest
Dylan Press

Yes, if you click on the file then click “i” icon in the top right corner of your Drive you should see “Uploaded by” in the Details tab.

Sandy Avery
Guest
Sandy Avery

Can we embed the URL in a Google Form? We want to have a Google Form for Expenses and have people submitthe expense form and upload their receipts to Google Drive.

Dylan Press
Guest
Dylan Press

I would recommend adding the url to the form description or editing the form autoresponder to include the url.

Bo Price
Guest
Bo Price

I went through this process while logged in to my google for work app account but could not find the upload folder. I logged out and logged into my personal account and it had been created there instead of my business acccount? Any ideas how and why that would happen?

Dylan Press
Guest
Dylan Press

I would double check the chrome profile you are logged in on. The only way this could happen is if it detected you were in some way linked to your personal Google Drive, likely via Chrome Profile.

Kathie Maier
Guest
Kathie Maier

I got this message yesterday and it is still up today:
“There are currently too many people viewing this file. Please try again later.”
I have used this script before and love it. I hope it is still available.

Scott L
Guest
Scott L

I like this, but when I follow the instructions I get the following: “500. That’s an error. There was an error. Please try again later. That’s all we know.”

If you know why that is happening, please let me know as I’d like to use this script. Thanks.

Jordan
Guest
Jordan

Possible to change the “Google Drive Dropbox” Image on top?

Dylan Press
Guest
Dylan Press

Yes, column 11 in the html tab of the script

Freddy Hakansson
Guest

Seems to be som kind of size limitation.
Err mess to large for for a video on 43Mb

Rachel
Guest

How can I change the color of the text for “file uploaded successfully”

Sam
Guest
Sam

How do I set the path on Drive?
what is the syntax for deep folders?
I tried ‘work_collector/subfolder’ and it just created a folder named ‘work_collector/subfolder’.

Nonob
Guest

Is there a way to tell who has uploaded a file? The script asks for a name but I haven’t been able to find any way to identify who has uploaded which file. Thanks.

jwj
Guest
jwj
This worked for me. There are two files that you are editing that you can see over to the left of the script editor. One is server.gs and the other is form.html. On the server.gs file, you will find this: var blob = form.myFile; var file = folder.createFile(blob); file.setDescription(“Uploaded by ” + form.myName); Just below that, copy the following: file.setName(form.myName + ” – ” + file.getName()); This will take the name from the form field and put it at the beginning of the file name, followed by a dash, and then the name of the file being uploaded. You can… Read more »
Nonob
Guest

Is there a way to tell who has uploaded a file? The script asks for a name but I haven’t been able to find any way to identify who has uploaded which file. Thanks.

Abiya
Guest

Great post! I am actually getting ready to across this information, It’s very helpful for this blog.Also great with all of the valuable information you have Keep up the good work you are doing well.

Abiya
Guest

Great post! I am actually getting ready to across this information, It’s very helpful for this blog.Also great with all of the valuable information you have Keep up the good work you are doing well.

Greg Nichols
Guest
Greg Nichols

Thanks for the wonderful video. I’m using the same script the script you wrote to allow my students to submit video practice records of themselves playing. We are running into a 25MB file size limit and while I’m keeping the assignment short (:30 or less) some students are running into an error, file too large message. Is there any way to remedy this?

Glenn
Guest
Glenn

The script doesn’t appear to allow uploading from mobile phones. This would be very handy because we are wanting video. Do you know if this is able to be done?

Almond Rochester
Guest
Almond Rochester

@GLENN I have been using the script for ages. Today I tried with my mobile phone too. It works like a charm.

I want to ask though, is there a way to add validation to the fields? I tried many ways but to no avail. I guess I don’t understand the script enough.

Sokunthea
Guest
Sokunthea

Can I upload multiple files by using this method?

Heemanshu Shah
Guest
Heemanshu Shah

hi
i want the form to create folders based on Name and put the file in a folder with name as the folder name for each file submission

regards
hbshah

Nance
Guest
Nance

This app is a huge help. Thank you!

I have one question. When a user attempts to upload a document to my Drive, they have to be given permission by me individually.

I get an email, I click on the link there and give them permission and then they go back in and complete the upload.

I thought I had this set up to give everyone permission to upload documents without this step. But apparently not.

Do you know where I should check?

Thanks.

Nance
Guest
Nance

It turns out I somehow skipped the “click the Permissions” step when I first set up this app. I went back and did it right this time. All set.

Thank you again!

Aviv
Guest
Aviv

How do I do this on a smartphone ?

David Samson
Guest
David Samson

This sounds perfect, but clicking the link it says “There are currently too many people viewing this file. Please try again later.” Perhaps make several copies of the file so that as it gets more popular it won’t fill up as quickly?

Simone
Guest
Simone

I have it all working but I need there to be an option to upload more than one photo at a time, is this possible?

Moses
Guest
Moses

It worked. Thanks alot

wpDiscuz

DOWNLOAD

The Ultimate Guide to Google Drive

DOWNLOAD NOW