Closed nilshamerlinck closed 7 months ago
/ocabot merge patch
Hey, thanks for contributing! Proceeding to merge this for you. Prepared branch 16.0-ocabot-merge-pr-334-by-lmignon-bump-patch, awaiting test results.
Congratulations, your PR was merged at 929389d197a001ab6ec44a4e9972e7bf6007a5ef. Thanks a lot for contributing to OCA. ❤️
I'm facing an issue with https://github.com/OCA/storage/pull/320 and a SFTP storage:
That's because of using
fs.ls()
to check for the existing of the marker file, see here. The sftp implementation of that method does not (yet) support files: see here.I understand that there was a rationale behind that choice, here.
But I think it's actually fine to use
fs.info()
, as underlying implementations override it with efficiency in mind:os.stat
FTP stat