Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^3: Cannot acces a remote file

by strat (Canon)
on Aug 22, 2005 at 07:35 UTC ( [id://485629]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Cannot acces a remote file
in thread Cannot acces a remote file

It seems you first have to mount a share on the other server... try Win32::NetResource from CPAN, that does a good job

If you want to find out what to do, try the dosbox command

net use z: \\172.22.1.73\D$ /user:administrator secret

(if secret is the password). If you type \\172.22.1.73 in your windows explorer and you see the share (e.g. with the name d), then use something like

net use z: \\172.22.1.73\D /user:me secret

(net help use gives you more information about this)

If that works fine, you've got enough information to mount it with Win32::NetResource

Best regards,
perl -e "s>>*F>e=>y)\*martinF)stronat)=>print,print v8.8.8.32.11.32"

Replies are listed 'Best First'.
Re^4: Cannot acces a remote file
by ikegami (Patriarch) on Aug 22, 2005 at 14:43 UTC
    It seems you first have to mount a share on the other server.
    Perl's open can handle UNC paths, but that's true if you need to login as someone different than on the current machine

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (7)
As of 2024-03-29 15:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found