Tuesday, August 23, 2011

coldfusion: copy image from url

to get a local copy of an image in the web using coldfusion, use cfhttp with get method.

<cfhttp url="http://url/directory/file.png" method="get" path="/localdirectory/" file="filename" />

i use this to transfer images on demand, from a server without public access to a server with public access

No comments:

Post a Comment

SSH : No matching host key type found. Their offer: ssh-rsa,ssh-dss

Got this while connecting to my mikrotik router via ssh   Unable to negotiate with <ip address> port <ssh port>: no matching hos...