I ran the script as per the instructions, but it appears to be transposing the directory names. For example, here's the physical path to one of the attachments in vB
The script is failing with the following error: Warning: copy(/forum/attachments/242/1381.attach): failed to open stream: No such file or directory in /gallery/import_attachments.php on line 81
It appears to be trying to copy the directory contents of 242 instead of 2/4/2.
Is their something in the script I can edit to correct this?