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

[REBOL] Rebol and FTP (recursive stuff in particular)

From: mat:eurogamer at: 14-Dec-2000 13:42

Hi folks, I'd like to write a backup script that backs up the files on an FTP site. This because my cheap mass hosting has already dumped everyone's files. :-/ Anyhow, there's no shortage of recursive directory routines lying around the place. Unfortunately they don't work with web sites. The reason for that being that Rebol appears to keep trying to open fresh FTP sessions every time you reference a URL - even if there's a current session logged into the same site. This seems like stupid behavior given it doesn't logout any of these threads either. The solution, I suppose, is to do a low level port-based FTP client type function that operates intelligently. I'd really rather not do that! Does anyone have an idea how to try get the high-level FTP stuff in Rebol not to be so stupid? -- Mat Bettinson - EuroGamer's Gaming Evangelist with a Goatee http://www.eurogamer.net | http://www.eurogamer-network.com