开发者

FTP and iPhone Programming

开发者 https://www.devze.com 2023-01-23 05:45 出处:网络
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 i

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 "h开发者_如何学JAVAello.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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号