Thank you!!
        That's a great tip. Do you by any chance have a link to that?
Regards
-Tim

At 02:28 PM 6/6/00 -0500, you wrote:
>If I were you I would change NT to SP 6a, version 5 was very very bad, and 
>got replaced quickly by Micro$haft. We installed it in several machines 
>that had Sp4 and the computers that were reliable with SP 4 had nothing but 
>problems so we stopped installing it. SP 6 is very stable though.
>
>
>At 12:14 PM 06/06/2000 -0700, you wrote:
>
>>Really?  It worked for me... but I'm on Linux.
>>Try it with 'trace/net on'
>>
>>trace/net on
>>
>>DstFile: ftp://usr:[EMAIL PROTECTED]/log.txt
>>SrcFile: ftp://usr:[EMAIL PROTECTED]/log.bak
>>text: read/lines DstFile
>>if exists? SrcFile [delete SrcFile]
>>rename DstFile SrcFile
>>foreach line text [
>>         write/append DstFile join line newline
>>]
>>
>>So if you do that to a small file (just 2-3 lines), what does the
>>trace show is happening?
>>
>>Sterling
>>
>> > Hi Sterling:
>> >       Sorry, your modification resulted in a crash also.
>> > write/append DstFile [line newline]
>> > Be interesting to see if there are different results regarding
>> > other OS's. Windows isn't all that stable anyway.
>> > Oh well!
>> > -Tim
>> > At 10:50 PM 6/5/00 -0700, you wrote:
>> > >
>> > >Well, this is untested code as I'm crunching away on some other stuff,
>> > >but try:
>> > >
>> > >foreach line text
>> > >[
>> > >  print line
>> > >  write/append DstFile [line newline] ;HOPEFULLY DOES NOT CRASH HERE!!
>> > >]
>> > >
>> > >instead.  Yes it's probably _very_ slow plus the other thing should
>> > >never crash REBOL.  That will be looked into.
>> > >
>> > >Sterling
>> > >
>> > >> I'm reposting this, as I've had no takers from the
>> > >> previous, and I note that Holger may be monitoring....
>> > >> I have tried a couple of different approaches to rewrite a file
>> > >> and an FTP site, and the result is always that rebol crashes
>> > >> and Dr. Watson intervenes.
>> > >> (Current version of view).
>> > >> Here's the code, I'd welcome comments.
>> > >> ;================================================
>> > >> DstFile: ftp://usr:[EMAIL PROTECTED]/log.txt
>> > >> SrcFile: ftp://usr:[EMAIL PROTECTED]/log.bak
>> > >> text: read/lines DstFile
>> > >> if exists? SrcFile [delete SrcFile]
>> > >> rename DstFile SrcFile
>> > >> ;print type? text
>> > >> DstPort: open/new/write DstFile
>> > >> foreach line text
>> > >> [
>> > >>   print line
>> > >>   append DstPort [line newline] ;CRASHES HERE!!
>> > >> ]
>> > >> close DstPort
>> > >>
>> > >> ; I am running from a Win NT 4.0 Workstation Platform with upgrade
>> > >> ;  5.0
>> > >> ; I am writing to a Linux machine.
>> > >>
>> > >> I can make this work if I do the rewrite on my machine and then
>> > >> FTP it to the site, but it would be just wonderful if I can do
>> > >> the backup and editing at the site.
>> > >>
>> > >> TIA
>> > >> Tim
>> > >>
>> > >>
>> > >>
>> > >
>> > >
>> >
>> >
>
>
>

Reply via email to