This would be the proper way to do it... > From: "F. Ricardo, Ph.D." <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > Date: Fri, 28 Sep 2001 10:47:57 -0700 (PDT) > To: [EMAIL PROTECTED] > Subject: Re: Writing a file remotely > > I'm working on a project that involves sending files from Macs > and Win2000 machines to a Linux server, as well as among each > other. I recommend the use of an FTP server at every transmission > destination; it's much easier than protocol-writing, and > experience in various W3C working groups has shown that > developing a robust protocol is lengthy, error-prone, and > difficult on extensibility grounds. Making a protocol should be > considered only when you can determine that nothing else has the > slightest hope of fulfilling your needs, and with FTP (perhaps > with WebDAV) I find that MC has almost everything you need, short > of streaming capability. > > Lastly, there are *many* freeware FTP servers; on the Mac, I've > used NetPresenz, on Windows just go with the built-in (and easy > to configure) IIS 4 or 5. I certainly wouldn't use an HTTP server > of any kind for bidirectional file transfer -- it's more complex > to set up (e.g., the MIME problem), more limited on type, more > prone to hack/virus attacks (e.g., are at least the many > buffer-overflow scenarios anticipated?), and you would likely > want/need session statefulness. The best protocol for file > transfer is FTP :^)
But was not suitable for me as I wanted something easy to install and distribute to MC end users, and I didn't fancy writing an FTP server in MC yet. The MIME problem is not a problem for MC to MC transfer as it's coded into the MC based mini HTTP server. For security - you'd need to set up some security (ie a firewall) where the LAN interfaces with the outside world. As for needing "session statefulness" - I think that is true - but I'll have to look it up first -:) Regardless - the advice given is sound - use someone else's tried and tested "free" software if you can. NB anyone know how incomplete downloads and "reloading" transfers is accomplished with ftp/http transfers? Archives: http://www.mail-archive.com/[email protected]/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to <[EMAIL PROTECTED]>, not this list.
