file-storage

How to copy InMemoryUploadedFile object to disk

How to copy InMemoryUploadedFile object to disk Question: I am trying to catch a file sent with form and perform some operations on it before it will be saved. So I need to create a copy of this file in temp directory, but I don’t know how to reach it. Shutil’s functions fail to copy …

Total answers: 5