Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

FTP server

 [1/6] from: heg::poczta::onet::pl at: 29-Mar-2004 16:40


Hello, I'm going to write an FTP upload handler in REBOL. Do you guys have any experience in that field? Any help would be appreciated. Pawel

 [2/6] from: greggirwin:mindspring at: 29-Mar-2004 10:59


Hi Pawel, P> I'm going to write an FTP upload handler in REBOL. P> Do you guys have any experience in that field? If you search for "FTP" on REBOL.org, you'll get about 38 results currently. They're likely to have some good hints in them, but also be aware that FTP isn't the easiest/most-reliable protocol on the planet. 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. -- Gregg

 [3/6] from: tim:johnsons-web at: 29-Mar-2004 9:39


* Gregg Irwin <[greggirwin--mindspring--com]> [040329 09:23]:
> Hi Pawel, > P> I'm going to write an FTP upload handler in REBOL.
<<quoted lines omitted: 5>>
> FTPGadget to make it robust--not due to REBOL's FTP implementation, > just FTP in general.
An alternative would be using http upload protocol .... there's a number of us on this list including myself that use it frequently (and in my case) pretty reliably - so you'll find a good code base here, I think. HTH tim ... -- Tim Johnson <[tim--johnsons-web--com]> http://www.alaska-internet-solutions.com

 [4/6] from: maximo:meteorstudios at: 29-Mar-2004 13:40


> 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). in any case, do get the latest ftp patch compiled by romano: http://www.rebol.net/cgi-bin/projects/track.r?id=149& -MAx

 [5/6] 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
<<quoted lines omitted: 6>>
> 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

 [6/6] from: brett:codeconscious at: 30-Mar-2004 9:51


> > 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...
.....
> which fixed the directory problems I was having, but that was just my > problems.
Romano's incorporates solutions to the problems mine solved plus other issues. So it should be used in preference to mine. Regards, Brett.

Notes
  • Quoted lines have been omitted from some messages.
    View the message alone to see the lines that have been omitted