Closed d4z3x closed 2 years ago
Hi,
yes do you need to implement the RealpathFileLister interface and returns the response for the SSH_FXP_REALPATH
request from there. This way you can implement the start directory logic.
RealpathFileLister works only with smart clients, I proposed a better approach in #498
How do I use this interface to customize the start directory?
I do see this in request-example.go:
Do I implement the RealPath method and change the dir there? My apologies in advance for asking a basic question.