Okay, here I admit my supreme laziness:
I was about to dive in and write a modest handler library to simply post a
file to an FTP server. In a perfect world, what I'd like to come up with is
something as simple and generalized as the ol' Allegiant Marionette syntax,
something like this:
ftpOpen <server>, <login>, <password>
ftpWrite <server>, <directory>, <pathToLocalFileToBeUploaded> /
[,<textOrBinary] -- binary by default
ftpClose <server>
And there should probably be at least a couple other optional params added
to handle firewalls and such.
I've taken a look at Andu's excellent FTP tool
<ftp://ftp.metacard.com/MetaCard/ftp-q_b12.mc> (great work, Andu), but as
useful as it is as an explanation of how the RFC applies to MetaCard the
scripts do not seem to be designed to also serve as a generalized,
copy-n-pastable solution.
As Andu himself said:
> The classroom is on the web. Search Yahoo for http,ftp,etc. protocols and
> read some RFCs to get an idea of how things are supposed to work. Don't
> worry if you only understand 5% from them, it's normal ;-).
Sockets and the FTP RFC aren't my forte. I can learn them, I can learn
anything given sufficient time. But I'm up to my armpits in learning Flash,
MivaScript, and ever more JavaScript, and the prospect of stopping all that
to take a couple days out to learn the FTP RFC is not an attractive one to
my already-at-risk-of-being-workaholic self.
So here's the question: Given the number of people who could benefit from
this sort of thing, should an intimate understanding of UNIX sockets and the
FTP RFC be necessary for adding the ability to upload FTP files in a
MetaCard app? Why should everyone who would want FTP reinvent the same
wheel?
So here's the feature request: For someone with a solid knowledge of
sockets and FTP, making a generalized script library for basic FTP would be
a fairly trivial task, far easier than for all the rest of us to slug it out
on our own individually. Any chance we could see this included in the
product? Willing to take donations to offet the additional development
expense? Time is so much harder to come by than money, and the
return-on-investment for the value it would add to MetaCard would be well
worth it.
Doable? Worthy?
--
Richard Gaskin
Fourth World Media Corporation
Multimedia Design and Development for Mac, Windows, UNIX, and the Web
_____________________________________________________________________
[EMAIL PROTECTED] http://www.FourthWorld.com
Tel: 323-225-3717 ICQ#60248349 Fax: 323-225-0716
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.