Questions tagged [temp]

A common directory on a file system which acts as a "scratch area" that can be used to hold files and directories for short periods of time.

When a file system is executing some process, it is often desirable to record information outside of registers/RAM and save them into memory. However, if these files are not intended to be permanently stored, a temporary "temp" directory may used to facilitate the storage/disposal of these files. For example, you might have a temp directory which stores logging data, which is regularly cleaned by the OS at discrete intervals.

temp may also refer to individual files, e.g. temp_data.csv which would be a temporary data file in the CSV format.

556 questions
6
votes
3 answers

Is it possible to recover a running VBScript file, if the original file was already deleted?

I have one Vbscript which runs continuously on my system to monitor a web page on Internet Explorer. I have permanently deleted this Vbscript file from its original location on system by mistake, However the script is still in RAM and is still…
Chanks
  • 86
  • 4
6
votes
2 answers

Location of Redis' temp file for replication?

I tried to set up a Master-Slave sync on a debian machine. I always get that error in my logs and I can't figure out where the temp file should be =/ [9559] 31 Jul 11:48:17 * Connecting to MASTER... [9559] 31 Jul 11:48:17 * MASTER <-> SLAVE sync…
optikfluffel
  • 2,538
  • 4
  • 20
  • 27
5
votes
2 answers

Copy resources from c# pjct to a windows directory

how can i copy a file in my project resources to a temp directory using C# i have install.bat file in my project resources folder i want to copy this into c:\ directory
Chathuranga
  • 113
  • 1
  • 1
  • 10
5
votes
1 answer

Unzip to temp (in-memory) directory using Python mkdtemp()?

I've looked through the examples out there and don't seem to find one that fits. Looking to unzip a file in-memory to a temporary directory using Python mkdtemp(). Something like this feels intuitive, but I can't find the correct syntax: import…
ericOnline
  • 1,586
  • 1
  • 19
  • 54
5
votes
1 answer

Why would one ever use the %TEMP% folder now that Storage Sense can clean it at any time?

Starting with Windows 10, Storage Sense has allowed users to specify %TEMP% folder cleanup that are as frequent as once a day. Technically it can run even more often is set to activate on low disk space, depending on one's disk usage patterns. In…
Ohad Schneider
  • 36,600
  • 15
  • 168
  • 198
5
votes
2 answers

jupyter notebook not showing python option under new

I am having a problem with creating a new ipython notebook. Previously I used to do that going to new -> python but now I am unable to see any python option. Also, I am unable to open any ipython notebooks, I have one uploading for hours now. I…
Vineet Tambe
  • 93
  • 2
  • 7
5
votes
2 answers

Linux - client_body_in_file_only - how to set file permissions for the temp file?

We use the client_body_in_file_only option with nginx, to allow file upload via Ajax. The config looks like this: location ~ ^(\/path1|\path2)$ { limit_except POST { deny all; } client_body_temp_path /path/to/app/tmp; …
Max Williams
  • 32,435
  • 31
  • 130
  • 197
5
votes
1 answer

Cannot find a file in my tempfile.TemporaryDirectory() for Python3

I'm having trouble working with Python3's tempfile library in general. I need to write a file in a temporary directory, and make sure it's there. The third party software tool I use sometimes fails so I can't just open the file, I need to verify…
JTFouquier
  • 389
  • 1
  • 4
  • 17
5
votes
1 answer

temporary image file in ruby

hi i would like to know how I can create a temporary file image (png) in ruby, because tempfile only gets you a random file name but it doesn't have an extension file.
amy
  • 51
  • 1
  • 4
5
votes
1 answer

Is it possible to delete temp files and cache of other apps programmatically?

I have gone through a lot questions regarding cleaning of temp files and cache programmatically and the answer that I got was No its not possible since the apps are in sand box mode we can't access content of one app from other except for some…
Imran
  • 1,715
  • 2
  • 20
  • 42
5
votes
1 answer

How do I open a temporary file AND get its filename?

I need to create a temporary file in my C program, write some data to it, and then invoke an external command (via exec or system) to do some processing on the file I just created. I did not write the external command nor is it feasible to…
Michael
  • 9,060
  • 14
  • 61
  • 123
5
votes
3 answers

How to open a file without saving it to disk

My Question: How do I open a file (in the system default [external] program for the file) without saving the file to disk? My Situation: I have files in my resources and I want to display those without saving them to disk first. For example, I have…
kentcdodds
  • 27,113
  • 32
  • 108
  • 187
4
votes
1 answer

Is it possible to create a temp index in sqlite?

A program I'm working on can import data from another program (not ours) that uses sqlite files. I need indices that don't already exist in the sqlite files, but I don't want to have to modify someone's data just to let them import it. The index is…
Bryan Head
  • 12,360
  • 5
  • 32
  • 50
4
votes
0 answers

Why does fread() on php://input writes temp files and how to avoid?

The PHP 7.4 (on Windows) code is:
raubvogel
  • 126
  • 1
  • 8
4
votes
1 answer

How to create temp directory in heroku/docker using Java?

I am trying to create a temp file and generate a file name and then save a multipart file. I am using Spring Boot and the following code is working in local. But in heroku or docker it is throwing FileNotFoundException; So how to create a temp…
Abraham Arnold
  • 301
  • 4
  • 20