When connecting in the context of a Rails app, it seems to use the Rails.root (or perhaps the bundler root) for the root. Is there a way to explicitly define a directory to use as the root?
For example, I have some mock data that I would like to be in the SFTP server when it starts up, and I've put that in /Users/Josh/name-of-rails-app/lib/sftp-root, which I would like to be the root. I'm unfortunately not very familiar with libssh and haven't be able to figure it out by reading your source or the docs for libssh.
Any help would be appreciated, or even just knowing if that's currently possible with this gem.
When connecting in the context of a Rails app, it seems to use the Rails.root (or perhaps the bundler root) for the root. Is there a way to explicitly define a directory to use as the root?
For example, I have some mock data that I would like to be in the SFTP server when it starts up, and I've put that in
/Users/Josh/name-of-rails-app/lib/sftp-root, which I would like to be the root. I'm unfortunately not very familiar with libssh and haven't be able to figure it out by reading your source or the docs for libssh.Any help would be appreciated, or even just knowing if that's currently possible with this gem.