A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Originally posted by Ulf Dittmer:
you could check whether you can also open it for writing (which would fail until the ftp process is done with it). That way you can be reasonably safe that you're not grabbing half-uploaded files.
I have found this method to be unreliable. The renaming business that Andrew is using is what we're using with as many partners as possible, and it's about as reliable as you can get.Originally posted by Ulf Dittmer:
Or you could write it in Java, and have a thread periodically check which files are there. Once a new file is spotted, you wait a certain amount of time until its size no longer changes, and then operate on it.
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime. |