[teiid-issues] [JBoss JIRA] (TEIID-4441) Add FTP/SFTP based access to the File Resource Adapter

Kylin Soong (JIRA) issues at jboss.org
Sun Nov 6 21:17:00 EST 2016


    [ https://issues.jboss.org/browse/TEIID-4441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13317848#comment-13317848 ] 

Kylin Soong edited comment on TEIID-4441 at 11/6/16 9:16 PM:
-------------------------------------------------------------

As below configuration segment 
{code}
<connection-definition class-name="org.teiid.resource.adapter.file.FileManagedConnectionFactory" jndi-name="java:/marketdata-file" enabled="true" use-java-context="true" pool-name="fileDS">
    <config-property name="ParentDirectory">
        ${jboss.home.dir}/teiidfiles/data/
    </config-property>
    <config-property name="AllowParentPaths">
        true
    </config-property>
</connection-definition>
{code}

The *ParentDirectory* must be a path on Local Disk, my thoughts, if we can expend and let this properties support
  http://path/to/teiidfiles/data/
  ftp://path/to/teiidfiles/data/
  sftp://path/to/teiidfiles/data/
this will make file connector more flexible, am I on the right way?


was (Author: kylin):
As below configuration segment 
{code}
<connection-definition class-name="org.teiid.resource.adapter.file.FileManagedConnectionFactory" jndi-name="java:/marketdata-file" enabled="true" use-java-context="true" pool-name="fileDS">
    <config-property name="ParentDirectory">
        ${jboss.home.dir}/teiidfiles/data/
    </config-property>
    <config-property name="AllowParentPaths">
        true
    </config-property>
</connection-definition>
{code}

The *ParentDirectory* must be a path on Local Disk, my thoughts, if we can expend and these properties support
  http://path/to/teiidfiles/data/
  ftp://path/to/teiidfiles/data/
  sftp://path/to/teiidfiles/data/
this will make file connector more flexible, am I on the right way?

> Add FTP/SFTP based access to the File Resource Adapter
> ------------------------------------------------------
>
>                 Key: TEIID-4441
>                 URL: https://issues.jboss.org/browse/TEIID-4441
>             Project: Teiid
>          Issue Type: Enhancement
>          Components: Misc. Connectors
>            Reporter: Ramesh Reddy
>            Assignee: Kylin Soong
>             Fix For: Open To Community, 9.2
>
>
> This has been requested few times in the community, it would be nice to give provide this functionality.  Using http://commons.apache.org/proper/commons-net/ seems to be right decision.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the teiid-issues mailing list