2026/07/09

From WoozleCodes
Jump to navigation Jump to search
Thursday, July 9, 2026 (#190)
Wednesday Thursday Friday

References

Main Work

I did put the $this->FNameInner check, and it was interesting what happened: first, the process got stuck trying to write via SFTP -- for, like, an hour or more -- before it got to the check (and exited). The obvious guess is that something timed out, which resulted in not being able to access the value needed to populate FNameInner, but I haven't really dug into the code yet.

Later

It's tricky, because I have the actual open/shut actions wrapped inside a thing (Connx) which counts how many open-requests there are and decrements it when there's a shut-request, which means each file should only actually get opened once (even if I'm, say, opening it in calling code and then opening it again inside a loop or something) and only closed when everyone is done with it -- but maybe the logic isn't quite right somehow, despite the fact that I've been over it multiple times.

...or it could be that I'm forgetting to shut in some places where I'm opening -- but I've checked all of those that I could find, which (for this particular issue) is basically one open and one shut per file...