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
0
votes
1 answer

How can I use temp table when creating view?

MySQL doesn't allow temp table when creating a view, is there any work around for that?
Kelvin
  • 1,082
  • 2
  • 12
  • 23
0
votes
1 answer

Normal Java project exported and used in a webservice need temporary folders

I have put a java project as a .jar (="Calculator_Project") into the WebContent/WEB-INF/lib folder. This"Calculator_Project"need some temporary folders (debug,temp) and two folders with models and scripts in it (models,scripts). I cannot change…
Ghali
  • 275
  • 3
  • 15
0
votes
1 answer

Deleting temp files automatically (C#)

I have a scenario where I download files from a storage to the temp folder. Then I call a framework to process the file and this framework needs the file during the lifetime of the application. When the applications exits I close all files but when…
SebastianStehle
  • 2,409
  • 1
  • 22
  • 32
0
votes
0 answers

weblogic temp directory in jsp web application

How can I get access to temp directory on weblogic server from my jsp web application (in scriptlet) to keep temporary files, which can created by my application? Where this weblogic temp directory physically stored on physical drive? Thanks!
jah
  • 157
  • 1
  • 4
  • 13
0
votes
2 answers

Does file_get_contents store any data

I'm using file_get_contents as below and set cron job to run that file every hour, so it opens the described url which is for running some other functions. Now I have two questions completely…
0
votes
2 answers

Why does my delete string attempt fail

I have been attempting to make my own version of this example: Delete a specific line from a file But I cannot get mine to work correctly. My current goal for the program is to delete the string and its information (which is the string below the…
bill
  • 51
  • 8
0
votes
1 answer

Where does InternetReadFile API save the data it reads?

I am trying to hook the APIs InternetReadFile and InternetWriteFile. InternetReadFile reads data from a handle provided to it (acc. to documentation). Where this data is stored? In memory/RAM? InternetWriteFile writes data to an open Internet file…
gmaster
  • 174
  • 1
  • 15
0
votes
1 answer

paint program undo redo function using temp files?

I'm creating a paint program with an undo redo function. I'm implementing it by taking snapshots of the canvas and then saving them as jpeg files. I'm then add the name of the file to a list to be fetched later. How do i make these jpeg files…
0
votes
3 answers

java.io.FileNotFoundException: Temp (Access is denied)

I have no idea why this is happening. The purpose of my code is to compare two files, and I got it from my programming book. This is my code: import java.io.*; class CompFiles { public static void main(String args[]) { int i=0, j=0; // First…
James Bond
  • 5
  • 1
  • 1
  • 8
0
votes
1 answer

mySQL ORDER BY temporary calculated column

First you must know: I have two tables "USERS" and "SONGS" How is possible to check some conditions and place the result on a temp column? For example foreach song in result of select must be calculate the bool and add it to temp column so I can do…
Stavros Koureas
  • 1,126
  • 12
  • 34
0
votes
1 answer

temporary directories on win 7

i'm looking for a way to create a temporary directory on my desktop. something like temp#354 or so. I thought it could go like this: $user/desktop mkdir temp{#} and the {#} generates a random number? 4-5 digits would be enough. it should work…
Peter Eberle
  • 1,081
  • 2
  • 8
  • 14
0
votes
2 answers

SQL Select Into #Temp

I have a complex SQL query that works. It's like SELECT * FROM Site s JOIN ( SELECT DISTINCT z.Value FROM Doc z JOIN ( SELECT x.DocumentID FROM Doc x JOIN ( SELECT DocumentID,…
erosebe
  • 927
  • 3
  • 16
  • 31
0
votes
0 answers

Is there any potential downsides to using random UUID as temporary file/directory name?

Is it reasonable to just use a random UUID (UUID version 4) based on /dev/urandom or CryptGenRandom to name temporary files/directories? The name collision is highly unlikely, but is there any potential problems? Why isn't such scheme used more…
Siyuan Ren
  • 7,573
  • 6
  • 47
  • 61
0
votes
1 answer

Simple TSQL table referencing

I am trying to use a variable table to steer a mirrored report sproc so that I can push out a single kind of report relating to this IS number: CREATE PROCEDURE [dbo].[report (@Date DATETIME='11/11/2011') AS BEGIN SELECT * INTO #Temp FROM…
PapaNer
  • 31
  • 2
  • 7
0
votes
0 answers

iOS temporary folder location issue

I am saving my iOS application data to the temporary folder location. While upgrading my application, these data are getting deleted. But I need these data to be available for the next version as well. Is there any possibility of doing so. Please…
Karthikeyan P
  • 475
  • 2
  • 12
  • 25