[REBOL] Re: FTP server
From: carl:cybercraft at: 30-Mar-2004 5:25
On 30-Mar-04, Maxim Olivier-Adlhoch wrote:
>> I remember Reichart saying that they had to do a lot of extra work
>> in FTPGadget to make it robust--not due to REBOL's FTP
>> implementation, just FTP in general.
> someone has reported that netscape's ftp handling has/had more than
> 60 different internal modes to be uniform accross all ftp servers.
> ftp seems to have a lot of variations, even in the W3c RFCs, due to
> the lenght of time it took to get ftp to maturity.
> just the listing of a directory's contents seems to be a major
> headache. searching this mailing list, will most propably reveal
> MANY such discussions (2 or 3 I can recall myself).
Yes, there was a big one around Nevember last year.
> in any case, do get the latest ftp patch compiled by romano:
> http://www.rebol.net/cgi-bin/projects/track.r?id=149&
I've been using the patch by Brett Handley linked to here...
http://demo.rebol.net/list/list-msgs/32891.html
which fixed the directory problems I was having, but that was just my
problems.
I originally started writing a simple FTP client because of a question
asked on the REBOL Cookbook pages, but it got a little bit long and I
hit the directory problem mentioned above, so I never uploaded the
script.
I did get to a working version though, and you can find it here...
http://homepages.paradise.net.nz/left/rebol/scripts/ftp-client.r
What it still needs (off the top of my head) is...
.. Storage of account information and a way to select different
accounts. (You need to type the account info in each time you run
it.)
.. Ability to add directories.
.. Ability to delete files and directories.
.. The displaying of file sizes, dates and permissions.
.. Ability to set file permissions.
.. Ability to download large files. (It grabs the whole file
currently, so is restricted to ones that'll fit in available memory.)
And probably a whole lot more.
But you can up and download files (and multiple files - just
Ctrl-click on them) and browse local and remote directories, so the
beginnings of a possibly useful client are there.
If that's of any use to anybody, feel free to use and modify it as you
wish.
--
Carl Read