Skip to main content
January 27, 2007
Question

Download File from a http link

  • January 27, 2007
  • 1 reply
  • 250 views
Hello,

I am parsing a text file to find a link to an image. What I would like to do is save that image to a directory on my server. Can anyone help??

Thanks
This topic has been closed for replies.

1 reply

January 27, 2007
I figured it out with the cfhttp tag. But I could have sworn I tried that already. However I still have a problem trying to save the following link:

http://pictures.sprintpcs.com/getMMBOXMessageMedia?id=Xw1004H8sLv6S3x76lVPYvc9HWuygho0uuMwC2zd0kRlZino8YKCHwmk5gW%2FZUWGqyw0fwJJvr6%2F%0AQGAoOB1yCVFkIIg3i3chY%2B2OQ69Il7GGkNKbb8WqPHc%2FqM6pybjFNSC2GH916I8mZTUSfgSuSQ%3D%3D%0A<

However if I place it in a <img> tag, it resolves just fine. Any ideas??

Thanks