It might solve the problem, I don't know, I always use fast connections and fast servers to test my sites so it's not really something that I've come across yet, thou supposedly if the file fails to upload the script should know about it... are you checking to make sure that the files actualy exist before copying them over to their final locations? And if so what code are you using to check it and also what code do you use to copy? Any of these may be a contributing factor...
If you post up some of your code it will be much easier to determine the exact nature of the problem.