I'm not sure to understand.
You want your client to use the SSH / SFTP protocol to connect to the
server, and then, the server would call a web service to actually query the
file system over the web service, right ?

If you don't want your client to directly use the custom
FileSystemProvider, and force it to use SFTP instead, you can achieve that
by setting your custom FileSystemFactory on the ssh server and that should
be enough.


2015-12-18 2:52 GMT+01:00 rockyfm <nair...@gmail.com>:

> We are looking to extend sshd 1.0 to support a file system that does not
> exist natively on the server running the sshd process. File operations like
> "ls" would query a web service to return a structure that represents the
> access the user has to files and directories on the remote file repository.
> Similarly a "GET" would retrieve a file from the repository while a "PUT"
> would save it to the repository. My initial understanding is that I could
> achieve what I need by implementing something as follows (based on the
> RootedFileSystemProvider)
>  1. MyCustomFileSystemProvider extending  FileSystemProvider
>  2. MyCustomPath  extending BasePath
>  3. MyCustomtFileSystem extending BaseFileSystem< MyCustomPath >
>  4. MyCustomFileSystemFactory implementing FileSystemFactory
>
>  I was wondering if I was on the right track. Do I need to extend the
> SftpSubsystem, if I need to stream a file from a remote server ?
>
>  Any pointers is greatly appreciated.
>
>
>
> --
> View this message in context:
> http://apache-mina.10907.n7.nabble.com/Extending-sshd-to-support-streaming-files-from-a-file-repository-tp49141.html
> Sent from the Apache MINA User Forum mailing list archive at Nabble.com.
>

Reply via email to