salahaddam has asked for the wisdom of the Perl Monks concerning the following question:

Hi, I am having trouble with scripting on a WIN based server, I am using CGI.pm and trying to upload files, I get a CGI Error could not open tmpFile, Is this due to the Server side File Permissions? They have ActivePerl. I have written to my provider's support and they say they are resetting permissions, but same error, Any idea what to tell them that I need done?

Replies are listed 'Best First'.
Re: CGI.pm File Permissions
by Zaxo (Archbishop) on Jun 06, 2006 at 01:51 UTC

    Check that the permissions are good for the user who the server is when it runs cgi scripts. That may not be the same as your account username.

    Not really enough information to know, but that's my first guess.

    After Compline,
    Zaxo

      That's interesting thanks, but I don't think that's the problem. My provider seems to have updated thier perl core or removed thier CGI.pm module or something.

      After lots of trial and error, I found that copying the version of CGI.pm that I'm familiar with to my cgi-bin and then adding
       use lib "E:/myroot/cgi-bin";, solved all of my difficulties. Does this make any sense?

      Also my provider still seems to want to limit my file permissions access, can I get control of this on a WIN server?