My question is why when using the FileSystemWatcher Class to monitor while saving the excel file, the FileSystemEventArgs returns .Deleted? When monitoring a .txt file, this is .Changed
I suppose: since Excel first creates a temporary file, writes information there, thereby deleting the original .xls file and renaming the temporary file.
Perhaps Excel guarantees that the original file will not be lost if the save operation fails.
, Excel , . , , , "". Changed, Excel Deleted.
Changed
Deleted
Source: https://habr.com/ru/post/1757149/More articles:Web server implementation - javaconvert NTP time to human readable time - c ++JavaScript date formatting in string for JSON DeSeriailization - jsonHow to get the last week of a month from a calendar in JAVA - javaΠΠ°ΠΉΡΠΈ ΠΊΠΎΠΌΠ±ΠΈΠ½Π°ΡΠΈΠΈ ΡΠΈΡΠ΅Π», ΠΊΠΎΡΠΎΡΡΠ΅ ΡΡΠΌΠΌΠΈΡΡΡΡΡΡ Ρ Π½Π΅ΠΊΠΎΡΠΎΡΡΠΌ ΠΆΠ΅Π»Π°Π΅ΠΌΡΠΌ ΡΠΈΡΠ»ΠΎΠΌ - mathΠ Π°ΡΠΏΡΠΎΡΡΡΠ°Π½Π΅Π½ΠΈΠ΅ Π·Π°Π΄Π°Π½ΠΈΡ Π½Π° ΡΠ°Π·Π½ΡΠ΅ ΡΠ·Π»Ρ ΠΊΠ»Π°ΡΡΠ΅ΡΠ° Π² Π΄Π²ΠΈΠΆΠΊΠ΅ ΡΠΎΠ»Π½Π΅ΡΠ½ΠΎΠΉ ΡΠ΅ΡΠΊΠΈ (SGE) - mpigit intercepts local commands too - gitHow to handle code error 500 in Richfaces - jsfSorry, we are unable to access the page you requested:https://fooobar.com/questions/1757153/index.htmlSorry, we are unable to access the page you requested:https://fooobar.com/questions/1757154/index.htmlAll Articles
https://fooobar.com/questions/1757153/index.html
https://fooobar.com/questions/1757154/index.html