You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Apache Wiki <wi...@apache.org> on 2006/01/27 14:29:02 UTC

[Jakarta-commons Wiki] Trivial Update of "Net/FrequentlyAskedQuestions" by Guilherme Silva

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