<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
On 03/26/2010 02:58 PM, Andrew Brunner wrote:
<blockquote
cite="mid:a2922881003260658p217b2b90mc6e8227d7c7a993@mail.gmail.com"
type="cite">
<pre wrap="">I always use copyfile and check the error and then delete the file if
needed. This ensures that the file was actually copied. It's just
better that way :-)
</pre>
</blockquote>
<b>Renaming</b> a file to a different directory does not offer any risk
(either the file is in the new location or in the old one) and is much
faster. <br>
<br>
-Michael<br>
</body>
</html>