Can someone show me code that takes an image from a server and puts it into an image on the iPhone to display in a program. In particular, let's say my ftp server is at mydomain.com and my username is "name" and password is "password"
What would the code look like to take an image called "hello.png" of size 25x25 sitting on the server and using it in my iPhone app.
Thanks!
here is some code I wrote for a phonegap plugin that will download a file and save it locally
http://blog.clearlyinnovative.com/post/1097750723/phonegap-plugin-for-downloading-url
Use the NSURLConnection and CFFTPStream APIs.
A good example is here on Apple's site.