[jcifs] downloading/uploading file from/to smb share
Michael B Allen
ioplex at gmail.com
Sat Dec 15 15:12:58 MST 2012
On Sat, Dec 8, 2012 at 5:11 AM, Pravink <pravink at mangospring.com> wrote:
> downloading/uploading file from/to smb share can be done from read(), write()
> api by using byte buffer. but it takes too much time to download or upload. is
> there any other apporoach which will improve the performance?
>
> reading, writing byte by byte causes my server to goes down when file is in MB's
Hi Pravink,
You definitely should not read and write one byte at a time. That will
indeed be slow. You want to read / write big chunks. See
examples/Put.java.
Mike
--
Michael B Allen
Java Active Directory Integration
http://www.ioplex.com/
More information about the jCIFS
mailing list