any existing protocol for accessing photos or pictures on a remote server

86 views Asked by At

I am trying to write a program (iPhone) to display some pictures (photos) from a linux server. I am investigating what protocol I should use. Should i just use HTTP? i.e. setting up a HTTP server on the linux server, and write a HTTP client on iPhone? Or, is there a better protocol existing for such application (i.e. focused on photos / pictures transfer / show) ?

or, should I write my own protocol (using TCP or UDP of course) ?

update: Or, is there already a well-known Bonjour service for the same?

thanks.

1

There are 1 answers

0
Michael Voronin-Labunsky On

If you want allow to manipulate files, pay attention to the WebDAV protocol.

WebDAV is an extension of the Hypertext Transfer Protocol (HTTP) that facilitates collaboration between users in editing and managing documents and files stored on World Wide Web servers.

Otherwise try to use SFTP (SSH File Transfer Protocol).