[jira] [Commented] (VFS-422) [SFTP] Allows to create other channels in SftpFileSystem

2012-08-20 Thread Benjamin Piwowarski (JIRA)

[ 
https://issues.apache.org/jira/browse/VFS-422?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13437711#comment-13437711
 ] 

Benjamin Piwowarski commented on VFS-422:
-

I don't see clearly how to work with the Operations API, that seem to be more 
linked to a file, whereas the proposed API is at the level of the file system. 

 [SFTP] Allows to create other channels in SftpFileSystem
 

 Key: VFS-422
 URL: https://issues.apache.org/jira/browse/VFS-422
 Project: Commons VFS
  Issue Type: Improvement
Affects Versions: 2.0
 Environment: Any
Reporter: Benjamin Piwowarski
 Attachments: 
 0001-SftpFileSystems-allows-opening-external-channels.patch, 
 vfs-422-v2-by-gg.diff

   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 open

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (VFS-422) [SFTP] Allows to create other channels in SftpFileSystem

2012-08-16 Thread Benjamin Piwowarski (JIRA)

[ 
https://issues.apache.org/jira/browse/VFS-422?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13435881#comment-13435881
 ] 

Benjamin Piwowarski commented on VFS-422:
-

Is there any progress on this?

 [SFTP] Allows to create other channels in SftpFileSystem
 

 Key: VFS-422
 URL: https://issues.apache.org/jira/browse/VFS-422
 Project: Commons VFS
  Issue Type: Improvement
Affects Versions: 2.0
 Environment: Any
Reporter: Benjamin Piwowarski
 Attachments: 
 0001-SftpFileSystems-allows-opening-external-channels.patch, 
 vfs-422-v2-by-gg.diff

   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 open

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (VFS-422) [SFTP] Allows to create other channels in SftpFileSystem

2012-08-16 Thread Gary D. Gregory (JIRA)

[ 
https://issues.apache.org/jira/browse/VFS-422?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13435914#comment-13435914
 ] 

Gary D. Gregory commented on VFS-422:
-

There is a discussion thread here: 
http://markmail.org/message/lbzqhplulsz2a7a2#query:+page:1+mid:66hcwrqmzlziyssz+state:results

This discussion stalled June 22, 2012 though.

There appears to be no consensus on which approach to take for adding this kind 
of feature: implement in the provider itself or with the Operation API.

One way to further the discussion is to propose an Operations API 
implementation, compare it to the cleaned up patch I provided, and argue on the 
pros and cons of each.

 [SFTP] Allows to create other channels in SftpFileSystem
 

 Key: VFS-422
 URL: https://issues.apache.org/jira/browse/VFS-422
 Project: Commons VFS
  Issue Type: Improvement
Affects Versions: 2.0
 Environment: Any
Reporter: Benjamin Piwowarski
 Attachments: 
 0001-SftpFileSystems-allows-opening-external-channels.patch, 
 vfs-422-v2-by-gg.diff

   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 open

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (VFS-422) [SFTP] Allows to create other channels in SftpFileSystem

2012-06-21 Thread Gary D. Gregory (JIRA)

[ 
https://issues.apache.org/jira/browse/VFS-422?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13398843#comment-13398843
 ] 

Gary D. Gregory commented on VFS-422:
-

I've posted questions to the mailing list for further discussion.

 [SFTP] Allows to create other channels in SftpFileSystem
 

 Key: VFS-422
 URL: https://issues.apache.org/jira/browse/VFS-422
 Project: Commons VFS
  Issue Type: Improvement
Affects Versions: 2.0
 Environment: Any
Reporter: Benjamin Piwowarski
 Attachments: 
 0001-SftpFileSystems-allows-opening-external-channels.patch, 
 vfs-422-v2-by-gg.diff

   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 open

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira