0

When I call API(get, patch etc) tmp file will be created and is not getting deleted in Windows/temp folder. Every 5 min it increases by 2k -3k and not getting deleted. Currently there are 65k temp file which are not deleted by server.

I cannot say it's because of API and the reason is few file size is 0kb and few contains API call details.

Kindly help me in this.

Das
  • 1
  • 1

1 Answers1

0

Windows never automatically cleans the %TEMP% directory by default. Consider replacing your temporary files inside a subdirectory in the temp folder, and updating your code to purge old items.

Developers using temporary files are expected to clean up after themselves.

atymic
  • 3,093
  • 1
  • 13
  • 26