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 Thu, 05 Nov 2009 17:40:02 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Commons Wiki" for change notification.

The "SimpleSftpFileDownload" page has been changed by KenTanaka.
The comment on this change is: Save partial example code update.
http://wiki.apache.org/jakarta-commons/SimpleSftpFileDownload?action=diff&rev1=15&rev2=16

--------------------------------------------------

  }
  }}}
  
+ I have incorporated Detlev's suggestion into the example above, because the original release
method used "{{{((DefaultFileSystemManager) this.fsManager).close();}}}" which worked once,
but if you reinitialize and run the process again you will get an error containing
+ {{{
+ org.apache.commons.vfs.FileSystemException: Unknown scheme "sftp" in URI "sftp://sftpremote.example.com/data/source/fires/smoke/"
+ }}}
+ Detlev's method doesn't have this problem.
+ 
  = Compiling =
  Compile the source code with
  {{{

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message