Google form file upload: get filename instead of link to file
问题 I have a simple google form which has a file upload option. The uploaded files are saved in my drive folder. I then have a simple script which executes on form submit to save the form values (upload filename, name and email) to a text file. Here's my app script to do that: function onSubmit(e) { var file = e.values[1]; // getting the link instead of the filename var name = e.values[2]; var email = e.values[3]; var folderId = "0B6de05UZOb0y1ck4tV3BPWldpMU14SGZncnlHa0tzTXVoZFk"; var folder =