[jcifs] Copying file over SMB network
Michael B Allen
mba2000 at ioplex.com
Fri Oct 8 23:49:15 GMT 2004
On Fri, 8 Oct 2004 16:11:04 -0700
"SPIES, BRENNAN (SBCSI)" <bs8145 at sbc.com> wrote:
> Hi all,
>
> Does anyone know how to do the simple operation of copying a local file
> to a shared folder, namely how to handle constructing the SmbFile for
> the local file, so that the call copyTo(SmbFile dest) can be made?
If smb://127.0.0.1/c/.../file.txt does not work then you'll have to use
FileInputStream to read buffers and write them to an SmbFileOutputStream
like examples/Put.java.
Mike
--
Greedo shoots first? Not in my Star Wars.
More information about the jcifs
mailing list