in reply to Re: advice, writing to remote share
in thread advice, writing to remote share

Yes i resolved the drive mapping problem, but I was doing that locally. I was running the perl script from the command line and mapping the a drive on my PC. So, of course no permissions issues. If I try to map a drive remotely it fails because of permissions.

Replies are listed 'Best First'.
Re^3: advice, writing to remote share (RESOLVED)
by djbryson (Beadle) on Jan 16, 2007 at 15:26 UTC
    I figured it out. By default the form runs as the IIS IWAM local account(which of course can't have permissions remotely). If you change this to a network account in IIS and then give the remote folder the same network account permissions, BAM... you can write remotely. Thanks for helping me brainstorm boys
      For what it's worth, I've found that mapping drives is often not required as many Perl functions such as "glob", "open", "copy", "unlink" and "tempfile" (for example) work fine using Windows UNCs (\\server\share\file). Kind of nice to skip the drive letter mapping altogether.

      Note: it's sometimes necessary (if not preferred) to swap back-slashes with slashes in UNCs. (//server/share/file).