View Single Post
  #3  
Old 03-10-2018, 03:15 AM
logicfiction
Fire Beetle
 
Join Date: Mar 2018
Location: Boston
Posts: 3
Default

Alright, thanks for the reference to the installer I'll check that out.

I got to spend a bit more time on it and finally figured out what was causing the issue with access denied.

First, what didn't work:

1. Windows 10 guides for general Access Denied claim folder permissions, but my user which is administrator owns all the folders and subfolder/files I'm working with.

2. Also unclear if it was just an issue with older Perl or 32 vs 64 I installed various versions of 32 bit and 64 bit perl trying ActivePerl and Strawberry Perl with no luck either.

3. I ran a little script just to see if I could get perl to open and write to a file in the same setup and that worked:

Code:
use strict;
use warnings;
open(my $fh, '>', "db_update/report.txt");
print $fh "My first report generated by perl\n";
close $fh;
print "done\n";
4. I don't know how I missed it earlier , couldn't find the function definition for `get_remote_file` when I searched eqemu_server.pl originally. But now I see it calls `wget` and lo and behold it's wget with the permission issues. So I downloaded wget myself: http://gnuwin32.sourceforge.net/packages/wget.htm which seems to work.
Reply With Quote