If you are on linux, another possibility would be to check "lsof" for the file (full pathname), and loop until the lsof listing for the file dissappears. Then copy it.

I'm not really a human, but I play one on earth. Cogito ergo sum a bum

In reply to Re: Monitoring an FTP upload directory by zentara
in thread Monitoring an FTP upload directory by friedo

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":