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

store the result of the a dynamic pivot to a temp table

I need to store the result of the following dynamic pivot to a temp table. Any suggesiotns? DECLARE @serviceid int = 66; DECLARE @SQL nvarchar(max); WITH E(n) AS( SELECT n FROM (VALUES(0),(0),(0),(0),(0),(0),(0),(0),(0),(0))E(n) ),…
0
votes
1 answer

Embeded resource copying but not running

I am trying to copy my exe from resources to the temp folder and execute the new copy from there however my "Load Calculator.exe" is copying without a problem but not executing it (by that I mean Process.Start) Dim FileName As String =…
TM80
  • 123
  • 2
  • 2
  • 12
0
votes
1 answer

accessing uploaded files from hosted website temp folder

I am learning "penetration testing of web server / websites". I am testing a web server security with the following steps: Test 1: Through inspect element tools I added new form element Test 2: I filled the form elements which were…
Abdul Rahman
  • 1,669
  • 4
  • 24
  • 39
0
votes
1 answer

How do I save an image in my deployed azure website?

I have this project deployed on azure website (running on one instance) that gets different fields (name, age, ...) and also allows an upload of an image. All data is then stored in an azure database. The problem is that I can't save the uploaded…
0
votes
1 answer

Looking for guidance for vb.net program to cleanup temp file directories for every user

I am looking for some guidance on getting a function working for a program I am working on. The function I am stuck on is meant to remove all files from multiple directories on a remote computer for all user profiles on that machine. At the moment I…
0
votes
1 answer

(C#, WMI) Tray App Displaying CPU Temp only updates value when SpeedFan App is running

I've made a simple tray app that displays the CPU Temperature and updates every second using a timer. The tray icon displays the "CurrentTemperature" parameter retrieved from the ManagementObjectSearcher query, which is then used to create a Bitmap…
Innat3
  • 3,561
  • 2
  • 11
  • 29
0
votes
1 answer

How to prevent a compiled batch file store source in tmp?

I need a batch file compiler that doesnt leave the source in %tmp%, so it cant be cracked that way. If there isnt a compiler that can do that, is there a way to prevent it? I have tried AbyssMedia QBFC, but it just makes the file hidden.
HackerGamerLV
  • 37
  • 1
  • 9
0
votes
2 answers

Creating temp folder in Linux

I was using R installed on a Linux server using SSH. Everything was fine, but now I have been denied access to temp folder and if I am loading R it is giving error cannot create 'R_TempDir', as it can't create the temp folder. Can you please tell…
Himanshu Rai
  • 156
  • 1
  • 10
0
votes
1 answer

Linux: Error output in code

I've got the code below, unfortunately it gives the following result. Something I do not understand. Does anyone know what I do wrong? The code is made for transferring data from to Domoticz (an open source Domotica system running on Linux). cat: $:…
0
votes
2 answers

Issue cleaning at exit

I am working on JAVA with JSmooth. I see at each launching, a tmp JAR is created. Created tmp jar files are approximately 10 Mb. As I quit an executable JAVA application built by JSmooth, the temp jar files remains at each launching. I read the…
cardman
  • 89
  • 3
  • 8
0
votes
0 answers

How to create temp table in a trigger?

I want to create a temp table in my trigger to store some of the data. I did some research online and most people suggest that I create it by using the following query: create #tempTableName (x datatype, y datatype..); or select * into…
smart_cookie
  • 85
  • 2
  • 4
  • 12
0
votes
1 answer

is writing in /tmp/ detectable for a too-much-memory software killer?

I've got a general question and I don't really find a correct explanation. I have a program which is creating big files in /tmp/; Theses files are created as follow : FILE *tmp; tmp = fopen(argv[i-1]+3, "w"); And I've got another program,…
Valentin Montmirail
  • 2,594
  • 1
  • 25
  • 53
0
votes
1 answer

vim creates temporary files in the current working directory

I normally setup my backup directory in my vimrc as follows. set backupdir=~/vimtmp,/tmp,. set directory=~/vimtmp,/tmp,. This works as all the *.*~ goes to the vimtmp folder. However, certain plugins such as NERDTree, Tagbar create their…
Validus Oculus
  • 2,756
  • 1
  • 25
  • 34
0
votes
1 answer

Preventing PHP from deleting temp memory

I have a form system where the user selects the files they want to upload and when they select the files, I use Javascript to do a basic scan on the files to verify they are allowed and the right size, then I have PHP do another scan to catch…
saxon564
  • 5
  • 5
0
votes
1 answer

Appending a temp file in a for loop

I have three arrays of data. I want to loop them over and save the values in a temporary file if some condition is meet. If the condition is not meet I would like to open the temorary file and find the index of the maximum value then save to…
Stripers247
  • 2,265
  • 11
  • 38
  • 40