DEV Community

Discussion on: Dealing with the lifecycle of a Tempfile

Collapse
cescquintero profile image
Francisco Quintero 🇨🇴

Correct. Once I needed to use Tempfile because was dealing with files in docker containers. To prevent losing the file I set it up to make a copy to a designated folder so that the process could finish with no risk of losing the file.