Changeset 2518


Ignore:
Timestamp:
Jun 24, 2014, 8:56:22 AM (9 years ago)
Author:
Nicklas Nordborg
Message:

References #611: Create package for supporting external files via SFTP

Should work now.

Location:
extensions/net.sf.basedb.xfiles/trunk
Files:
8 added
3 edited

Legend:

Unmodified
Added
Removed
  • extensions/net.sf.basedb.xfiles/trunk/META-INF/MANIFEST.MF

    r2517 r2518  
    11Manifest-Version: 1.0
     2Class-Path: lib/sshj-0.9.0.jar
  • extensions/net.sf.basedb.xfiles/trunk/META-INF/extensions.xml

    r2517 r2518  
    1212    <url>http://baseplugins.thep.lu.se/wiki/net.sf.basedb.xfiles</url>
    1313  </about>
     14
     15  <extension
     16    id="net.sf.basedb.xfiles.sftp-connection-manager"
     17    extends="net.sf.basedb.core.uri.connection-manager"
     18    >
     19    <index>20</index>
     20    <about>
     21      <name>SFTP connection manager</name>
     22      <description>
     23        Provides support for accessing files via SFTP protocol. Will only
     24        work if a file is linked with a file server providing username,
     25        password and SSH fingerprint information. The host specified in
     26        the file item's URI will be replaced with the host information
     27        specified in the file server item.
     28      </description>
     29    </about>
     30    <action-factory>
     31      <factory-class>net.sf.basedb.xfiles.sftp.SftpConnectionManagerActionFactory</factory-class>
     32    </action-factory>
     33  </extension>
    1434 
    1535</extensions>
  • extensions/net.sf.basedb.xfiles/trunk/src/net/sf/basedb/xfiles/XFiles.java

    r2517 r2518  
    3535  public static final String VERSION = "1.0-dev";
    3636
     37  /**
     38    Default port when using SSH is 22.
     39  */
     40  public static final int DEFAULT_SSH_PORT = 22;
     41 
    3742}
Note: See TracChangeset for help on using the changeset viewer.