On BBC, *TreeCopy HOSTFS::H.JGH/ZIP tries to read @.:H.JGH/ZIP giving 'No input available'. Treecopy srcpath fs:dstpath forgets the filing system of the source. ------------------ Should restore context on error termination. ------------------ Added Update option to v1.63 ------------------ Some versions of Acorn FileServer don't like *CDIR name size - removed use of size in v1.62. ------------------ *TreeCopy DISK:blah prompts for 'Do all DFS directories'. Should default to 'No'. - fixed *TreeCopy DISK:blah blah A ignores A option. - fixed ------------------ Occasionally hangs waiting for NetFS info. Consistantly at the same place when copying from :Software.BBCBasic.Z80Basic, must be related to the exact length of the data accumulated. Needs an option to reduce data buffer size for deep recursion. Could be it just needs string space to be pre-claimed. Temporary fix with -debug option. ------------------- Need to add Force option - done in v1.60. If a file that is long enough to be copied with OSGBPB overwrites a locked file, the copy fails, does not recover from File locked, continue? Fixed by adding check for locked files in PROCGBPB itself. ------------------- Ian Wolstenholme wrote: > It's when it tries to create a directory, I get FS Error 46 generated by > the L3 file server, which means bad arguments. It looks like it doesn't > like the OSFILE call with A=1 at line 1850. > OSARGS 1 is "set load/exec/attrs". I seem to remember reading somewhere > that Acorn fileservers throw a wobbly if you try to set the load/exec > addresses on a directory, they only allow you to change the attributes > with OSFILE 4. > Any suggestions for a fix? A temporary fix would be to change line 1850 where it says A%=1 to A%-1-(A%<>1)*3 and line 2040, add A%=1 at the start before PROCB and carefully edit line 2200 to add A%=1 before PROCB That will pass the file type to PROCB which sets the file attributes, and if it is a file (A%=1), it uses OSFILE 1 to set the load/exec/attrs, if it is a directory (A%=2), it uses OSFILE 4 to just set the attrs. I'll add this to my lengthing list of tweeks that need adding to TreeCopy. I keep starting and stopping rewriting it from scratch as I've bolted so many workarounds to it to get around odd things like L3FS that the code is getting quite mangled. - fixed.