[jcifs] SmbFile.copyTo()

Michael B Allen ioplex at gmail.com
Mon Mar 29 15:43:55 MDT 2010

Hi Nelly,

The copyTo method is designed to efficiently copy potentially large
directories. To that end copyTo will ignore certain errors like a
permissions errors so that the copy can complete. However, even in
these instances, I believe JCIFS will log a stack trace if the log
level is greater than 1 (at least from glancing at the code it looks
like it will). So if you do not see any exceptions, this does not
sound like the problem.


Michael B Allen
Java Active Directory Integration

On Mon, Mar 29, 2010 at 3:04 PM, Nelly <nells1981 at gmail.com> wrote:
> Hi,
> I'm using jcifs 1.3.14. Trying to copy file from one smb server to another and
> nothing happens. I don't get any exceptions. Googling around I read that jcifs
> catches and doesn't rethrow exception in the copyTo method. Has anyone else
> had a similar experience?
> Thanx

More information about the jCIFS mailing list