Using a Perl script to process a file upload, I am trying to assign the temp directory to an existing r/w enabled folder (windows box) on my website.
Apparently, cgi.pm looks for a "/tmp" folder off the root and if not found sticks the file in the cgi-bin directory with the Perl script (shouldn't be write enabled).
use CGI;
$TempFile::TMPDIRECTORY='/files';
is supposed to reassign the TMP directory to "files" folder but doesn't work. The server is off site so I can't modify cgi.pm directly. I have tried using the full server path with the above command to no avail. Any Ideas?
Apparently, cgi.pm looks for a "/tmp" folder off the root and if not found sticks the file in the cgi-bin directory with the Perl script (shouldn't be write enabled).
use CGI;
$TempFile::TMPDIRECTORY='/files';
is supposed to reassign the TMP directory to "files" folder but doesn't work. The server is off site so I can't modify cgi.pm directly. I have tried using the full server path with the above command to no avail. Any Ideas?