Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: advice, writing to remote share

by djbryson (Beadle)
on Jan 15, 2007 at 19:44 UTC ( [id://594801]=note: print w/replies, xml ) Need Help??


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).

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://594801]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (2)
As of 2025-03-21 08:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When you first encountered Perl, which feature amazed you the most?










    Results (63 votes). Check out past polls.