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.


In reply to Re^5: File Upload On Windows 8 and Perl by marinersk
in thread File Upload On Windows 8 and Perl by skosterow

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.