Path: csiph.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Paul Stewart Newsgroups: comp.sys.acorn.programmer Subject: OS_Find &4F Date: Sat, 21 Feb 2026 23:08:36 GMT Organization: A noiseless patient Spider Lines: 30 Message-ID: Injection-Date: Sat, 21 Feb 2026 23:11:35 +0000 (UTC) Injection-Info: dont-email.me; posting-host="26f64342c56c58379f4aab52317732fc"; logging-data="1770313"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+oXbSZB1sk67TDRHiIwhUx" User-Agent: Messenger-Pro/9.00 (MsgServe/9.00) (RISC-OS/4.42) NewsHound/v1.54 Cancel-Lock: sha1:moDHFeXdml5DiNI/kOc+ITy5Yb8= X-Editor: EmailEdit 2.04 Xref: csiph.com comp.sys.acorn.programmer:6592 Hi there, Trying to read a log file when the file is already open by the the utility that is create it.(downloading a file using WGet and reading the log file to display percentage downloaded) Using SYS "XOS_Find",&4F,file$ TO handle% Now the above works fine on my RO4.42 and RO5 devices. When I test with VRPC with RO4 and RO6, Error is generated: Handle is either illegal or has been closed and errors with the line number the above SYS command is on. I'm doing OS_Find command to open the file getting the size OS_GBPB to read into buffer OS_Find to then close the file. Above all works fine on 4.42 and 5, but generates the Handle is either illegal or has been closed error on RO4 and RO6. Any ideas as to why the RO4 and RO6 do not like SYS "XOS_Find",&4F,file$ TO handle% with a file that is already open and being updated, where as other OS's are fine with it? -- Paul Stewart Sent from A9home running RISC OS 4.42