Dear Wiki user, You have subscribed to a wiki page or wiki category on "Commons Wiki" for change notification.
The following page has been changed by KenTanaka: http://wiki.apache.org/jakarta-commons/SimpleSftpFileDownload ------------------------------------------------------------------------------ = Key Concepts = + = Source Code = - = pom.xml Project file = + == pom.xml Project File == This example uses Maven2. There is a '''{{{pom.xml}}}''' to define the project {{{ }}} - = Source Code = - Content of '''{{{src/main/java/gov/noaa/eds/tryVfs/ExtractFromGzipInTar.java}}}''' + == Code Listing == + Content of '''{{{src/main/java/gov/noaa/eds/byExample/trySimpleVfsSftp/App.java}}}'''. Be sure to customize the variables near the top of the listing to match your environment if you intend to run this code. The variable to modifiy are {{{host, user, password, remoteDir, filePatternString}}} and {{{localDir}}}. + {{{ /* * App.java @@ -35, +37 @@ = Running = Use a command like this to run the example {{{ - java -jar target/tryVfs-1.0-SNAPSHOT-jar-with-dependencies.jar + java -jar target/trySimpleVfsSftp-1.0-SNAPSHOT-jar-with-dependencies.jar }}} == Sample Output == {{{ }}} - There should now be data files matching the {{{filePatternString}}} in the local machine directory "/extra/data/fires/smoke". + There should now be files matching the {{{filePatternString}}} in the local machine directory "/extra/data/fires/smoke". --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]