Rclone mount with PHP

Hello,

We have a remote file repository.
We use rclone in order to mount a folder via SFTP on our local computer.

This folder is then manipulated with PHP on our local computer.

We use the following command:

rclone mount rclone-conf:/public/uploads public/uploads --vfs-cache-mode writes

The issue is that the various PHP file manipulation functions don't detect folders mounted with rclone.

For example in our case:

  • "public" is a local folder
  • "uploads" is rclone mount root folder

And then :

is_dir("public"); # Return true
is_dir("public/uploads"); # Return false

Rclone version :
rclone v1.53.3

  • os/arch: windows/amd64
  • go version: go1.15.5

Thanks for your help

You'd want to include more info as how you are mounting it, a log of the issue. Basically all the stuff in the help template is there to get to an answer faster so those pieces are critical in helping to solve the problem.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.