The associated file is automatically deleted upon object destruction.
Public Member Functions
|TempFile (bool anonymous=true)|
|Create an empty, temporary file, and open it for reading and writing. |
|The filename. |
|The file handle. |
|Passenger::TempFile::TempFile||(||bool|| anonymous =
Create an empty, temporary file, and open it for reading and writing.
|anonymous||Set to true if this temp file should be unlinked immediately. Anonymous temp files are useful if one just wants a big not-in-memory buffer to work with.|
|SystemException||Something went wrong.|
If this temp file is anonymous, then the filename is an empty string.
The file handle.