commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Piwowarski (JIRA)" <>
Subject [jira] [Commented] (VFS-422) Allows to create other channels in SftpFileSystem
Date Thu, 21 Jun 2012 15:48:43 GMT


Benjamin Piwowarski commented on VFS-422:

Here are answers to your question

On formats:
* I will use the standard diff format - hopeful the test will pass (I have no trouble on my
side after a clean)
* I now use the block style
* I added some comments on Jsch

Other things
* The runtime exception was just a way to see if the code was executed at some point (removed)
* Keeping track of how many objects are instantiated is important if we want to answer correctly
to the "isReleasable" question - otherwise, opened channel will be closed when disposing of
the filesystem, unless I misunderstood how VFS was working.

I will post an updated patch soon.
> Allows to create other channels in SftpFileSystem
> -------------------------------------------------
>                 Key: VFS-422
>                 URL:
>             Project: Commons VFS
>          Issue Type: Improvement
>    Affects Versions: 2.0
>         Environment: Any
>            Reporter: Benjamin Piwowarski
>         Attachments: 0001-SftpFileSystems-allows-opening-external-channels.patch
>   Original Estimate: 3h
>  Remaining Estimate: 3h
> In the software I am writing, I need to execute commands when the filesystems "allows"
it, i.e. local or via ssh (i.e. sftp filesystem). 
> For a local filesystem, I can easily do this, but for Sftp, there is no way to get a
channel different than the SFTP on, so it would be great if other channels could be open.
> I could submit a patch that would:
> 1) Allows a call to session.openChannel(String type) [following getChannel()]
> 2) Overwrite isReleaseable to keep the filesystem open if some external channels are

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message