Skip navigation.
 
mlRe: Cocoa FTP Server
FROM : Finlay Dobbie
DATE : Sun Dec 12 14:47:27 2004

On Mon, 13 Dec 2004 00:00:35 +1030, Jonathon Mah <<email_removed>> wrote:
> Hi all,
>
> Does anyone know of any Cocoa-based FTP servers? I would like the
> actual server code to be Cocoa-based (not just a wrapper on some C code
> or whatever).


Why exactly would there be some sort of requirement that it's using
Cocoa? What advantage does that have over plain BSD sockets (or the
higher-level wrappers around them)? Disadvantage is high overhead,
lack of testing of the code, etc.

> If no-one knows of any code already out there, could you please give me
> a couple of pointers to Cocoa classes I'd use to implement an FTP
> server? I haven't ever done networking in Cocoa before.


There's some stuff in CF that you could use. Or there are some Cocoa
wrappers around those and BSD sockets and things. Search the archives
and look at <http://www.cocoadev.com>

> Just to whet people's appetites, this is part of a larger project to
> implement arbitrary file systems in Mac OS X (shfs, gmailfs, etc.), so
> you'll be able to mount directories over SSH, SFTP, and more! (Yes, it
> will be open-source, but I'm just searching for a starting-point at the
> moment.)


Are you trying to do something like clone FUSE
<http://fuse.sourceforge.net/>? If so, I would have thought that the
whole network thing would be incidental and certainly shouldn't be the
biggest challenge. And tying yourself to Cocoa is probably
unnecessary.

-- Finlay

Related mailsAuthorDate
mlCocoa FTP Server Jonathon Mah Dec 12, 14:30
mlRe: Cocoa FTP Server Finlay Dobbie Dec 12, 14:47
mlRe: Cocoa FTP Server Jonathon Mah Dec 12, 15:34
mlRe: Cocoa FTP Server M. Uli Kusterer Dec 12, 15:49
mlRe: Cocoa FTP Server Sherm Pendley Dec 12, 15:58
mlRe: Cocoa FTP Server Jonathon Mah Dec 12, 16:56
mlRe: Cocoa FTP Server M. Uli Kusterer Dec 12, 17:28
mlRe: Cocoa FTP Server Izidor Jerebic Dec 12, 17:55
mlRe: Cocoa FTP Server Finlay Dobbie Dec 12, 19:43