Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

listContents $location is with double / at the end #122

Open
SeniorSupportEngineer opened this issue Apr 7, 2021 · 0 comments
Open

listContents $location is with double / at the end #122

SeniorSupportEngineer opened this issue Apr 7, 2021 · 0 comments

Comments

@SeniorSupportEngineer
Copy link

When I whant to list the contents of "/out" on a sftp server $location is always "/out//".
The path prefixer is set to "/out". And then I list the contents of path "".
So $location = $this->prefixer->prefixPath(rtrim($path, '/')) . '/'; results in "/out//"
So the $filename will be "/filename.txt" and not "filename.txt"

Can this be fixed please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant