In Windows, because it is a case insensitive file system, the WebGUI uploads often become scrambled. This does not become a problem until you attempt to move the uploads directory to a different operating system, like Linux or BSD, where case is important. A symptom of this problem in the newly moved site can be files that appear to be missing from WebGUI.
This script will rebuild the uploads directory to fix the problem of mixed case directories clashing. It may take a long time to run, and you should make a backup of the uploads directory before trying to run it.