Access Keys:
Skip to content (Access Key - 0)
community header community tab mule tab ibeans tab muleforge tab

SFTP Transport Installation Instructions



Prerequisites

Pre-Requisite Version Notes
JDK
1.4.x, 1.5.x, 1.6.x
$JAVA_HOME environment set
$PATH  includes $JAVA_HOME/bin
1.5.x needed for building from source
Mule
1.3.3, 1.4.x, 2.0.x
See Home for details on where to get distribution and/or source
Subversion
any
only needed for building from source
Maven
2.0.8+
only needed for building from source
Winzip/Gzip
any
 


Installing the Binary

  1. Install Mule to your machine, if not already installed.  When done, set your $MULE_HOME environment variable to where you installed Mule, for example c:/mule/mule-<version>.  Also, add $MULE_HOME/bin to your $PATH.
  2. Download the SFTP Transport ZIP and unpack it to a directory, say $SFTP_DIST.  From $SFTP_DIST, copy mule-transport-sftp.jar to $MULE_HOME/lib/user.
  3. Copy all the jars in $SFTP_DIST/lib to $MULE_HOME/lib/user.

Installing from Source

  1. Install Mule to your machine, if not already installed.  When done, set your $MULE_HOME environment variable to where you installed Mule, for example c:/mule/mule-<version>.  Also, add $MULE_HOME/bin to your $PATH.
  2. Download Maven 2.0.8 or higher and add the $MAVEN_HOME/bin to your $PATH
  3. Check out the desired SFTP Transport version from Subversion at: https://svn.muleforge.org/mule-transport-sftp
    For this example, let's say your Subversion workspace is $WS.
  4. cd to $WS
  5. Run "mvn -Dmaven.test.skip=true install" at the command prompt.  This builds the SFTP connector.  Running unit tests is not recommended unless you understand the SFTP Transport Unit Tests section in the SFTP Connector User Guide.
  6. Copy the mule-transport-sftp.jar file from $WS/target to $MULE_HOME/lib/user.
  7. Copy the libraries from the "Library Dependencies" directory below to $MULE_HOME/lib/user.

Library Dependencies

The following libraries are needed by the SFTP Transport.  They are copied to you M2_REPO location during the build:

$M2_REPO/com/jcraft/jsch/0.1.29/jsch-0.1.29.jar

Note: The $M2_REPO location on Linux/Unix the location is  ~/.m2 by default. On Windows it's usually c:/Documents and Settings/<user>/.m2.

Adaptavist Theme Builder (3.3.3-conf210) Powered by Atlassian Confluence 2.10, the Enterprise Wiki.
Free theme builder license