Okay, there's some basic checking on your part that needs to be done -- I'll get to that in a moment.
At this point I would definitely examine the most excellent suggestion raised by RichardK in Re^5: File Upload On Windows 8 and Perl. Hard evidence is always better than guesses, so take anything you can get in that space. Software engineering is, after all, a blend of art and science.
Things you'll need to poke around and check -- confirm that images-user is not at the root (i.e., should it be /images-useror \images-userlike you coded it), or should it be a subdirectory of your CGI directory as the browser debugging has shown it to be, etc. -- only you can check those, and you need to try to catch yourself at your own assumptions.
An example of such an error: What if the file you are seeing was placed there by an early test which failed for a completely different reason, but you never deleted it, and now you are not writing to the same location? It would be completely easy and understandable to make the mistake -- and it would be exactly that -- of assuming that just because the file is in the right place, that your current script is trying to write it there.
Second-guessing yourself is part science, part art, to be sure; but it is an absolutely critical skill to develop in this profession. You know this, I suspect -- just highlighting that a common trap is to make an assumption and move right past critical analysis. You're not allowed to ask how I know this. :-)
Finally, also consider if necessary the use of the TEMPdirectory override I noted above.
I know it feels like you're circling the problem and not getting at it -- but if you systematically eliminate all the possibilities, and pay attention to what you see whilst you're hunting, odds are you'll find it eventually. Patience, Persistence, Attention to Detail -- all key tools in the troubleshooter's toolbox.
I would be interested to know when you resolve this; and always, toss out more questions if they come up.
|