in reply to Random script crashes related to File::Copy
What does your script do to ensure the file being put into the folder is completely copied there?
Possibly, you are trying to move the file out before the creating process finishes writing the file. Not that the error you are getting, ETXTBSY, hint that this is the case. Neither does ETXBSY hint at a reasonable cause based on your description.
Perhaps moving the file out before it has been fully written is part of your current problem. Even if not, your description hints that this may be an issue. See Check whether a file is open for a discussion of the problem.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Random script crashes related to File::Copy
by michael.barnes (Novice) on Apr 29, 2009 at 21:15 UTC | |
by tye (Sage) on Apr 30, 2009 at 04:59 UTC |