How to fix temp file issue?

RV, RAJANI 0 Reputation points
2025-03-13T07:20:58.6333333+00:00

I have noticed a scenario: 

When an Excel file is opened in edit mode inside a Windows share, it generates a temporary file. After some time, if the network gets disconnected and then reconnects, and the Excel file is closed, the temporary file ($xxx.xlsx) will disappear after few minutes.

However, 

in a client-server  setup,  when a  client tries to access an Excel  file on the server in edit mode,  it also  generates a temporary file. After some time, if the network gets disconnected and then reconnects, and the Excel file is closed, the temporary file ($xxx.xlsx) remains and does not disappear.

Why is there a difference? Temporary files are generated in both cases, but they are automatically deleted in one case, while in the other, they remain.

How can we automatically delete these files in a client-server environment during a network loss?

Microsoft 365 App Publishing
Microsoft 365 App Publishing
Microsoft 365: Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line.App Publishing: The process for app developers to prepare, validate, submit, monetize, release, update, drive adoption, distribute, and maintain their app.
39 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.