Top "Temporary-files" questions

A (often short lived) file, automatically created for reasons like storing data that no longer fit into memory, for inter-process communication or to save state for possible crash recovery.

How do I create a temporary file in Groovy?

In Java there exists the java.io.File.createTempFile function to create temporary files. In Groovy there doesn't seem to …

groovy temporary-files
Create temporary file and auto removed

I am writing a anti-leeching download script, and my plan is to create a temporary file, which is named by …

php temporary-files
/tmp vs. /dev/shm for temp file storage on Linux?

I have scripts that make hundreds of quick succession, small, temp files needing to be created and very soon read …

linux shared-memory temporary-files
tmpnam warning saying it is dangerous

I get this warning saying that tmpnam is dangerous, but I would prefer to use it, since it can be …

c++ temporary-files
Is it possible to get the path of a tempfile in Python 3

I was wondering if it was possible to get the file path of a temporary file made using the tempfile …

python temporary-files
Rails - Creating temp files in a portable way

My rails application runs on a Ubuntu server machine. I need to create temporary files in order to "feed" them …

ruby-on-rails ubuntu temporary-files
How can I create a ramdisk in Python?

I want to create a ramdisk in Python. I want to be able to do this in a cross-platform way, …

python unit-testing cross-platform temporary-files ramdisk
In python, make a tempfile in the same directory as another file?

I need to update a file. I read it in and write it out with changes. However, I'd prefer to …

python file temporary-files
How to create a temporary file with Unicode encoding?

When I use open() to open a file, I am not able to write unicode strings. I have learned that …

python unicode temporary-files
iPhone storage in tmp directory

I have a question from this stackoverflow question about iPhone storage. Like I already tried to answer, we can cache …

ios objective-c iphone caching temporary-files