Piotr,

As alternative "hacky" solution you could try is to monitor the "modified at" 
at property and keep testing it every second or so until it's value no longer 
changes? There may be other possibilities too by inside using LEP but I'm not 
sure without further investigation.

Regards,
Narinder Chandi,
ToolBox Systems Ltd.
https://toolbox.systems
 
I am available for new consulting opportunities…
http://4d.1045681.n5.nabble.com/ANN-4D-Developer-Available-td5765443.html
-- 

-----Original Message-----
From: 4D_Tech <[email protected]> on behalf of 4D Tech Mailing List 
<[email protected]>
Reply-To: 4D Tech Mailing List <[email protected]>
Date: Thursday, 21 November 2019 at 15:03
To: 4D Tech Mailing List <[email protected]>
Cc: Piotr Chabot Stadhouders <[email protected]>
Subject: Re: DOCUMENT LIST : how do I know the documents are valid

    Dear Alexander,
    
    Unfortunately, I believe the “locked” attribute doesn’t return true when 
copying is in progress
    
    But thanks for your tip.
    
    Gr,
    Piotr
    
    
    could this help?
    
    GET DOCUMENT PROPERTIES ( document ; locked ; invisible ; created on ; 
created at ; modified on ; modified at )
    
    > Am 21.11.2019 um 11:20 schrieb Piotr Chabot Stadhouders via 4D_Tech 
<[email protected]>:
    >
    > Hi,
    >
    > We use DOCUMENT LIST and COPY DOCUMENT to handle scans
    > The documents are copied by a scanner to a certain folder on a Windows 
server, where we are picking them up and process them
    > It seems that because of slow copying the documents are picked up too 
early by us
    > How can I ensure that the documents are totally copied by the scanner? 
COPY DOCUMENT to an temporary folder doesn’t seem to solve the problem
    **********************************************************************
    4D Internet Users Group (4D iNUG)
    Archive:  http://lists.4d.com/archives.html
    Options: https://lists.4d.com/mailman/options/4d_tech
    Unsub:  mailto:[email protected]
    **********************************************************************


**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to