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 persist to disk a temporary file using Python?

I am attempting to use the 'tempfile' module for manipulating and creating text files. Once the file is ready I …

python temporary-files
Permission Denied To Write To My Temporary File

I am attempting to create and write to a temporary file on Windows OS using Python. I have used the …

python temporary-files
C++: Getting a temporary file, cross-platform

I'm looking for a cross-platform way of getting designated a temporary file. For example in linux that would be in …

c++ temporary-files
what is /tmp directory in hadoop hdfs?

I have cluster of 4 datanodes and hdfs structure on each node is as below I am facing disk space issue , …

hadoop temporary-files
Python: How do I make temporary files in my test suite?

(I'm using Python 2.6 and nose.) I'm writing tests for my Python app. I want one test to open a new …

python unit-testing testing temporary-files
How can I unlock a file that is locked by a process in .NET

I want my application to clean all the temp files it used, the problem is that not all the temp …

c# temporary-files file-locking
How can I automatically create (and remove) a temp directory in a Makefile?

Is it possible to have make create a temp directory before it executes the first target? Maybe using some hack, …

makefile temporary-files
Create a temp file with a specific extension using php

How do I create a temporary file with a specified extension in php. I came across tempnam() but using it …

php temporary-files
How can I copy a file content into a temporary file in PHP?

I tried this: $temp = tmpfile(); file_put_contents($temp,file_get_contents("$path/$filename")); But I get this error: "Warning: …

php temporary-files
is there an existing FileInputStream delete on close?

Is there an existing way to have a FileInputStream delete the underlying file automatically when closed? I was planning to …

java file-io temporary-files