Pylons / deform

A Python HTML form library.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

using FileUploadWidget without tempstore

ShrinivasMese opened this issue · comments

can i use FileUploadWidget without tempstore?
i am uploading 50MB files on server. tempstore and sessions creates problem.

so i want to bypass tempstore logic.

You need to provide a class that implements the same interface as temp store, and then you can store things however you'd like.

For example, storing the file on disk instead of in memory or in a session, and then having an appropriate cleanup method that comes along after the fact to clear out this temp store location.

Closing due to inactivity. If you need support, please see General Support.