1 import jcifs.smb.SmbFileOutputStream;2 3 public class SlowWrite {4 5 public static void main( String argv[] ) throws Exception {6 7 SmbFileOutputStream out = new SmbFileOutputStream( argv[0] );8 9 for( int i = 0; i < 2; i++ ) {10 out.write( (new String ( "hello" + i )).getBytes() );11 Thread.sleep( 17000 );12 }13 14 out.close();15 }16 }17 18