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 20:44:33 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

------------------------------------------------------------------------------
  }}}
  
  == Sample Output ==
+ If the remote system has the following files in the /data/source/fires/smoke directory:
+ {{{
+  README.txt
+  smoke20070328_wkt.txt
+  smoke20070426_wkt.txt
+  smoke20070430.txt}}}
+ 
+ The middle two with "_wkt" in their names should be retrieved.
  {{{
  SFTP download
  Mar 25, 2008 1:00:44 PM org.apache.commons.vfs.VfsLog info
@@ -299, +307 @@

    Standard local path is /extra/data/fires/smoke/smoke20070328_wkt.txt
      Resolved local file name: file:///extra/data/fires/smoke/smoke20070328_wkt.txt
    ### Retrieving file ###
+ Examining remote file sftp://sftpremote.example.com/data/source/fires/smoke/smoke20070426_wkt.txt
+   Standard local path is /extra/data/fires/smoke/smoke20070426_wkt.txt
+     Resolved local file name: file:///extra/data/fires/smoke/smoke20070426_wkt.txt
+   ### Retrieving file ###
- Examining remote file sftp://sftpremote.example.com/data/source/fires/smoke/smoke20070329.txt
+ Examining remote file sftp://sftpremote.example.com/data/source/fires/smoke/smoke20070430.txt
-   Filename does not match, skipping file ./smoke20070329.txt
+   Filename does not match, skipping file ./smoke20070430.txt
  }}}
  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