in reply to Cannot acces a remote file
Your URL for the remote file is wrong in several places.
1. Backslashs inside the string. The backslash will escape the next character. You will need two backslashes to represent a single backslash.
2. How the "D:" drive is exported from the other machine. I would think that something like
But I am not an expert in Windows, so you could be right in 2, but 1 is definitely wrong.
1. Backslashs inside the string. The backslash will escape the next character. You will need two backslashes to represent a single backslash.
eg. "\\\\172.x.x.x\\foo\\bar"
2. How the "D:" drive is exported from the other machine. I would think that something like
would be more appropriate."\\\\172.x.x.x\\D\\foo\\bar\\filename"
But I am not an expert in Windows, so you could be right in 2, but 1 is definitely wrong.
In Section
Seekers of Perl Wisdom