Hi,
I am trying to run a perl script on my local computer that reads a list of files and matches them with a folder on our server and moves them to a diffrent folder on our server.
The script it self works fine when i run it on my local computer to access my local computer files but when I try to run it on my local to access the server folders it gives me an access denied error in the command prompt. I have administrator rights on the server and I am logged into the server as admin from my client computer at the time I run my script but I still get the message. Is there something I can put in the perl script i.e a username and password that will stop giving me this error. And I know I could just run the script on the server but I really dont want to install perl on the server itself.
My client is a win xp pro and the server is win server 2003

Thanks

Edited by Arunbear: Changed title from 'Access denied', as per Monastery guidelines


In reply to Server access denied when checking for files by bobdole

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.