commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Bergstresser" <ch...@subtlety.com>
Subject Strange System.out behavior
Date Fri, 07 Jan 2005 04:12:23 GMT
Hi all --

   I just ported over my previous application to the Commons/Net FTP
library, and I'm seeing a strange bug.  The following snippet used to work:

	System.out.print("Uploading file: " + convertSlashes(next) + "...");
	InputStream in = new FileInputStream(f);
	ftp.storeFile(convertSlashes(next), in);
	System.out.println("done");

    But now nothing gets printed until the println.  I even tried adding a
System.out.flush(), but no dice.  Nothing's printed to the console without a
println().
    Any ideas what's going on?

-- Chris

-- 
Internal Virus Database is out-of-date.
Checked by AVG Anti-Virus.
Version: 7.0.296 / Virus Database: 265.6.7 - Release Date: 12/30/2004
 


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


Mime
View raw message