How to determine when file copying is complete I use C #
edit: we copy files over the network from one computer to another. my task is to browse the directory and perform some actions after copying files to it.
If you use File.Copy(), then this operation ends after the file is actually copied.
File.Copy()
Try to find the FileSystemWatcher event created .
, , , . , the system raises a Created event
the system raises a Created event
. , CopyFileEx, (http://msdn.microsoft.com/en-us/library/aa363852(VS.85).aspx)
CopyFileEx
. File open write , , : FileStream fs = f.OpenWrite();
, , .
Source: https://habr.com/ru/post/1737299/More articles:Tomcat 6, JPA and data sources - javaDelphi fsStayOnTop oddity - delphiFinding a flexible way to specify the connection string used by ASP.NET membership - asp.netDelphi: Ball shape with fsStayOnTop not working in Win7 - formsMoving average / stdev calculation in SAS? - standardsZend Framework helper intellisense - zend-frameworkActiveMQ - send a message to a specific consumer - activemqWhy does GetWindowThreadProcessId return 0 when called from a service? - c #How to print part of an HTML page? - htmlBest approach to storing image pixels in bottom-up order in Java - javaAll Articles