You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
result: $paths contains fileA, subfolder & fileB (so far so good)
Problem: when looking at fileB, there is nothing that indicates if fileB is at the same level as fileA of inside the folder 'subfolder'.
The returned array has a property 'dirname' that is always empty and basename & path are the same.
By looking at the wiki - I would suspect that basename contains the value as it contains at the moment but I expected path to contain either '/subfolder' or the complete path ('/subfolder/fileB.pdf').
The text was updated successfully, but these errors were encountered:
@timboven I went and setup an oauth dev setup for myself, made it a lot easier to debug. Turned out recursive listing was broken die to the prefix changes. I've corrected this and fixed the path normalisation in the process.
Config:Adapter = Dropbox
Contents on Dropbox:
/fileA.pdf
/subfolder/fileB.pdf
situation: $paths = $filesystem->listContents("/", true);
result: $paths contains fileA, subfolder & fileB (so far so good)
Problem: when looking at fileB, there is nothing that indicates if fileB is at the same level as fileA of inside the folder 'subfolder'.
The returned array has a property 'dirname' that is always empty and basename & path are the same.
By looking at the wiki - I would suspect that basename contains the value as it contains at the moment but I expected path to contain either '/subfolder' or the complete path ('/subfolder/fileB.pdf').
The text was updated successfully, but these errors were encountered: