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

ftp client

 [1/1] from: gchiu::compkarori::co::nz at: 10-Mar-2002 13:40


Some years ago, I volunteered to host a mirror of a webzine. This involves the ftp'ing of 1-200 files every few months. Trouble is, often the ftp process would die with an error, and it was a hassle determining where to start from again. ( I've tried several ftp clients. ) I've now been told that many files are missing, so I now have to upload the whole site again - 1500 - 3000 files :( So, I thought I would try using Rebol for this. My first pass is at sites/Compkarori/FTP dir or, on Developer IOS users/Graham Chiu/Scripts/ftp-dirupload But, a few problems .... 1. I read the local directory with files: load %./ If I don't lower the security level at the start of the script, then when I execute the above, it brings up a console screen :( 2. When I do an info? ftp://....remote_file I get a size of 0 bytes on one of my servers (Solaris/Apache), but on another it works fine. To overcome this problem, I have to do info? http://.... remote_file 3. I want a clean way of halting the ftp loop. I have a button that changes a flag ( halt? ), and the loop checks the state of the flag, but I can't activate the button. Otherwise, it seems to be working fine. If it dies, I can continue where I left off .... currently halfway thru issue 4 of 15 :) -- Graham Chiu