I noticed a bug: Recursive mode doesn't work if the specified folder is the root of the volume, such as Work: .
I couldn't find any contact information :( , so posting here (as well as on OS4 Depot comments) in case the mysterious porter/uploader happens to spot this... (Or someone else knows them & can point them here.)
@broadblues Sadly /Work does not work (nor similar variations). The problem is that it seems to treat Work: as if it was a folder, and so when it tries to enter (say) Work:example the path it tries to use is Work:/example .
Of course it's up to the filesystem how it interprets that. I thought that a request for the parent of root returned root, at least on FFS. I've just checked and only ram-handler (and my webdav-handler, more by accident than design) treats the parent of root as root, smbfs redirects to SYS: (I'd consider this a bug) and FFS and SFS2 error it as an invalid path.
I'm not blaming the filesystems btw, I find path handling is often broken on lazy ports.
If you want a workaround you could create a soft-link in RAM: pointing to the volume you actually want to scan, and scan the link instead. That should work.
Of course it's up to the filesystem how it interprets that. I thought that a request for the parent of root returned root, at least on FFS. I've just checked and only ram-handler (and my webdav-handler, more by accident than design) treats the parent of root as root, smbfs redirects to SYS: (I'd consider this a bug) and FFS and SFS2 error it as an invalid path.
The correct response for ACTION_PARENT/FSParentDir() on a root lock is:
Res1: ZERO Res2: 0 (no error)
Quoting from dos.dospackets.doc: Quote:
If the lock has no parent, then a lock of ZERO is returned. No secondary error code shall be returned for ZERO root locks.
Author of the other version is rhash.admin on gmail , com
Are you SURE about that? That's the email address of the ORIGINAL author (Aleksey Kravchenko). I have no reason to think that he was the one responsible for the OS4 port...
Hey Chris.. I just wanted to mention I added support for SFV File Generation.
I don't know, I used whatever the default format was. It's homepage does mention SFV, so I guess that's the case. In which case your program might be a better solution if I need to do this again :)