commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Commons Wiki] Update of "SimpleSftpFileDownload" by KenTanaka
Date Tue, 25 Mar 2008 19:38:29 GMT
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: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message