If the command your invoking returns before the transfer is complete, then your into doing hooky stuff like looping and checking the filesize (-s) to see if it is still growing.
The other possibility is that the process (XCOM service?) that is doing the transfer may open the file with an exclusive open, in which case loop and sleep until you can successfully open it.
In reply to Re: Re: Re: Checking for finished file transfer
by BrowserUk
in thread Checking for finished file transfer
by qadwjoh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |