This seems like a wrong answer with a DocList, but instead of using a DocsList, you can get the data directly from the blob, analyze it, and then import it into a spreadsheet. I only summarize:
function doGet(e) { var app = UiApp.createApplication().setTitle("Upload CSV to Sheet"); var formContent = app.createVerticalPanel(); formContent.add(app.createFileUpload().setName('thefile')); formContent.add(app.createSubmitButton('Start Upload')); var form = app.createFormPanel(); form.add(formContent); app.add(form);
source share