Getting a file from another website
Hello,
I am trying to get a image from another website. This is not illegal practice that I am trying to conduct. I develop real estate websites and I am just trying to get a list of home images from our provider. I am trying to use cffile (copy) to copy the image from their site to my site.
<cffile action="copy" source="http://www.theprovidersite.com/IMLS98393231B.jpg" destination = "path_to_my_server/file_name.jpg">
I just keep getting a bunch of errors. Does anyone know how to do this. I could just go and download them one at a time, but I would rather just loop through an array and let the server grab them.
Thanks
Basically I just want to read an image on another site and copy that image to my webserver. Anyone know how to do this. Thanks again!
