Tim wrote: > I have also written my own script, which goes as follows: > ;;======================================================= > site: ftp://usr:[EMAIL PROTECTED]/webs/interfacefire/temps/test.txt > print read site > fp: open/lines/mode site [read write lines] > forall fp > [ > if(find first fp "three") > [ > print first fp > insert next fp "line four" > ] > ] > close fp Wouldn't it be easier to read %test.txt, make the changes locally, then write %test.txt? Something like: Site: ftp://..... File: read/lines site print File forall File [ ; blah blah blah... ] write/lines Site File That way you can more easily see what's going on. Andrew Martin ICQ: 26227169 http://members.xoom.com/AndrewMartin/ -><-
- [REBOL] [REBOL]Update file as port/Security tjohnson
- [REBOL] [REBOL]Update file as port/Security Re: icimjs
- [REBOL] [REBOL]Update file as port/Security Re:(2) tjohnson
- [REBOL] Update file as port/Security Re:(3) icimjs
- [REBOL] Update file as port/Security Re:(4) jimg
- [REBOL] Update file as port/Security Re:(5) Petr . Krenzelok
- [REBOL] Update file as port/Security Re:(6) icimjs
- [REBOL] Update file as port/Security Re:(6) joel . neely
- [REBOL] [REBOL]FTP Read/Write problems tjohnson
- [REBOL] [REBOL]FTP Read/Write problems Continue Al . Bri
- [REBOL] [REBOL]FTP Read/Write problems Continue tjohnson
- [REBOL] [REBOL]FTP Read/Write problems Continue Re: Al . Bri
- [REBOL] Update file as port/Security Re:(5) icimjs
- [REBOL] The forthcoming REBOL/View Al . Bri
- [REBOL] The forthcoming REBOL/View Re: Petr . Krenzelok
- [REBOL] The forthcoming REBOL/View Re:(2) Al . Bri
- [REBOL] The forthcoming REBOL/View Re:(3) Petr . Krenzelok
- [REBOL] The forthcoming REBOL/View Re:(4) jimg
- [REBOL] The forthcoming REBOL/View Re:(5) Petr . Krenzelok
- [REBOL] The forthcoming REBOL/View Re:(6) jkinraid