[jcifs] Copying Files

Allen, Michael B (RSCH) Michael_B_Allen at ml.com
Thu Aug 16 09:28:13 EST 2001


> -----Original Message-----
> From:	Rob Wygand [SMTP:rob at filefish.com]
> 
> I'll talk a look at SMB_COM_COPY...
> 
	Actually, even the SmbTree.copy() operation is already there. It's
	commented out. See:

	http://auditorymodels.org/jcifs/src/src/jcifs/smb/SmbTree.java

	Just uncomment that and add a copyTo() method to SmbFile
	modeled after renameTo() and your done. Keep an eye on what
	the creation date and time are; I'm not sure what the times will be.

	Mike





More information about the jcifs mailing list