commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Jakarta-commons Wiki] Trivial Update of "Net/FrequentlyAskedQuestions" by Guilherme Silva
Date Fri, 27 Jan 2006 13:29:02 GMT
Dear Wiki user,

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

The following page has been changed by Guilherme Silva:
http://wiki.apache.org/jakarta-commons/Net/FrequentlyAskedQuestions

------------------------------------------------------------------------------
  	try {
              InputStream stO =
                  new BufferedInputStream(
-                     ftp.retrieveFileStream(fnO),
+                     ftp.retrieveFileStream("foo.bar"),
                      ftp.getBufferSize());
  
              OutputStream stD =
-                 new FileOutputStream(fnD);
+                 new FileOutputStream("bar.foo");
  
              org.apache.commons.net.io.Util.copyStream(
                      stO,

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


Mime
View raw message