WheatonCS / Lexos

Python/Flask-based website for text analysis workflow. Previous (stable) release is live at:
http://lexos.wheatoncollege.edu
MIT License
120 stars 20 forks source link

How Exactly do Lexos handle upload file #198

Closed czhang03 closed 9 years ago

czhang03 commented 9 years ago

It seems like the upload is only unloading the file string, which I don't think is compatible with zip archive. I checked request.file after the file is uploaded, and it is always empty.

But Multicloud can get request.file, and I see the html, there seems to be a line that get this:

<input type="file" class="multicloud-upload" id="uplodefile" name="optuploadname"/>

and also, I try to let the js do not block .zip and .lexos file when upload, and fail...

Can someone take a look at this, and fix those 2 problem on the front end?

Thanks

datGryphon commented 9 years ago

Moses and I worked this out.