[jcifs] Appending smb files

Allen, Michael B (RSCH) Michael_B_Allen at ml.com
Thu Jul 3 08:26:03 EST 2003


You must open an SmbFileOutputStream and write all files to it or open an
existing file in with the append parameter of the SmbFile construtor set to
true. Please read the API documentation.

Mike

> -----Original Message-----
> From:	ak_71 [SMTP:ak_71 at libero.it]
> Sent:	Wednesday, July 02, 2003 2:56 AM
> To:	jcifs
> Subject:	[jcifs] Appending smb files
> 
> I've two SmbFiles, and I need to append the first's contents to second's
> I can't use first.copyTo(second), since this replaces second's with first's.
> 
> please help
> thanks 
> davide
> 




More information about the jcifs mailing list