I'm using the Image:Magick Read() to grab images off a remote server.
$image = Image::Magick->new; $url = "$Variable1/$Variable2/Filename.jpg"; $image->Read($url);
When I do this to an image within a publicly visible folder, everything works wonderfully: I am able to use Get() to assign the attributes of that remote image to variables.
However, when I try to do this to an image within a folder that is within a protected area requiring htpasswd authentication (such as a Member's Area), the Read($url) fails.
What I am looking for is a means to provide my own username and password to authenticate my script to access these protected files remotely
I have been scouring the internet to find a solution to this. Unfortunately, I am not sure exactly what approach or solution I need to be searching for. Is there a separate package that allows me to authenticate as a user, or something that allows Image::Magick to define user/pass access, or something entirely different altogether.
Any help on this matter would be GREATLY appreciated!
Thanks in advance, perlmonks community.
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |