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

[REBOL] Re: read ftp:// error - "Juin" -> "Jun" ?

From: sqlab:gmx at: 5-Jun-2001 13:48

> > > > > > Kind of like a traditional command line version of FTP? I guess it > > > would give access to more commands that could be used more flexibly, > but > > > it would seem to me that to get any sort of automation would then > > > require developing the more complex scheme that is in the current > REBOL > > > FTP. Am I missing the point? > > > > No. You hit it. > > > > you can do; > > insert port 'help > > print copy port > > and see what's supported. > > > > I think it's not overly complex to use something like > > port: open iftp://.... > > insert port "Type A" > > insert port "get $data10.reamed.lablog" > > write %lablog.txt copy port > > > > It gives no problems with versioning and allows > > to deal with different file and text formats. If anyone > > remembers the old nntp.r, then he will see, that it's > > the same principle. One integrated protocol for easy > > access and a second version allowing all features of > > the server. > > I gave your idea a lot of thought yesterday, and realized that a few > things would be easier to do with a more direct protocol (like, it would > be nice to use the usual ftp directory listing directly, instead of > having it get parsed and then reconstructing the list). I thought I > could get a primitive version banged out in an hour, but two hours later > I was still struggling (I haven't figured out an easy way to adapt Frank > Seivertson's telnet to an FTP --- the having to open a second channel > really makes ftp an altogether different beast! Maybe extending the > exisiting scheme to give the more primitaive info would be easier). I > really do "get" your point and think it is a good idea, but the project > may be beyond my skills. Maybe, I'll give it another try later on. > Thanks for the input, AR. > > --Scott Jones >
After looking at the "PORT .,.,.,.,.,." command in the scheme I was able to to open a second data port and use it. (And I saw that "get" is "RETR".) But after realizing, that I could send simple commands through port/locals/cmd-port, I try now to mate both concepts. At the moment I am searching for a place/variable in the port scheme to store information regarding the ascii/binary mode for reuse. If you are interested, I can send my version. AR