<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:14.0pt;
font-family:"Courier New";color:navy'>Hi,<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:14.0pt;
font-family:"Courier New";color:navy'>&nbsp;I am trying to copy a huge local file,
size is 1.4G to a remote windows. <o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:14.0pt;
font-family:"Courier New";color:navy'>Here is my code:<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:14.0pt;
font-family:"Courier New";color:navy'>&nbsp; smbFile = new SmbFile(remoteSmbUrl);<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:14.0pt;
font-family:"Courier New";color:navy'>&nbsp;&nbsp;BufferedInputStream in&nbsp;
= new BufferedInputStream(localFile);<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:14.0pt;
font-family:"Courier New";color:navy'>&nbsp; BufferedOutputStream out = new
BufferedOutputStreram(smbFile.getOutputStream());<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:14.0pt;
font-family:"Courier New";color:navy'>&nbsp;&nbsp; byte[] buffer = new byte[10240];<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:14.0pt;
font-family:"Courier New";color:navy'>&nbsp;&nbsp;&nbsp; int len = 0;<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:14.0pt;
font-family:"Courier New";color:navy'>&nbsp;&nbsp; while((len = in.read(buffer))&gt;0){<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:14.0pt;
font-family:"Courier New";color:navy'>out.write(buffer,0,len);<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:14.0pt;
font-family:"Courier New";color:navy'>}<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:14.0pt;
font-family:"Courier New";color:navy'>out.close()///here throw the below
exception<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><u><span style='font-size:14.0pt;
font-family:"Courier New";color:navy'><o:p><span style='text-decoration:none'>&nbsp;</span></o:p></span></u></p>

<p class=MsoNormal style='text-autospace:none'><u><span style='font-size:14.0pt;
font-family:"Courier New";color:navy'>jcifs.smb.SmbException</span></u><span
style='font-size:14.0pt;font-family:"Courier New";color:red'>: Transport1
timedout waiting for response to
SmbComClose[command=SMB_COM_CLOSE,received=false,errorCode=0,flags=0x0018,flags2=0xC803,signSeq=0,tid=2049,pid=51602,uid=2049,mid=12445,wordCount=3,byteCount=0,fid=16385,lastWriteTime=0]</span><span
style='font-size:14.0pt;font-family:"Courier New"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><u><span style='font-size:14.0pt;
font-family:"Courier New";color:navy'>jcifs.util.transport.TransportException</span></u><span
style='font-size:14.0pt;font-family:"Courier New";color:red'>: Transport1
timedout waiting for response to
SmbComClose[command=SMB_COM_CLOSE,received=false,errorCode=0,flags=0x0018,flags2=0xC803,signSeq=0,tid=2049,pid=51602,uid=2049,mid=12445,wordCount=3,byteCount=0,fid=16385,lastWriteTime=0]</span><span
style='font-size:14.0pt;font-family:"Courier New"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:14.0pt;
font-family:"Courier New";color:red'>&nbsp;&nbsp;&nbsp; at jcifs.util.transport.Transport.sendrecv(</span><u><span
style='font-size:14.0pt;font-family:"Courier New";color:navy'>Transport.java:76</span></u><span
style='font-size:14.0pt;font-family:"Courier New";color:red'>)</span><span
style='font-size:14.0pt;font-family:"Courier New"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:14.0pt;
font-family:"Courier New";color:red'>&nbsp;&nbsp;&nbsp; at
jcifs.smb.SmbTransport.send(</span><u><span style='font-size:14.0pt;font-family:
"Courier New";color:navy'>SmbTransport.java:634</span></u><span
style='font-size:14.0pt;font-family:"Courier New";color:red'>)</span><span
style='font-size:14.0pt;font-family:"Courier New"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:14.0pt;
font-family:"Courier New";color:red'>&nbsp;&nbsp;&nbsp; at
jcifs.smb.SmbSession.send(</span><u><span style='font-size:14.0pt;font-family:
"Courier New";color:navy'>SmbSession.java:224</span></u><span style='font-size:
14.0pt;font-family:"Courier New";color:red'>)</span><span style='font-size:
14.0pt;font-family:"Courier New"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:14.0pt;
font-family:"Courier New";color:red'>&nbsp;&nbsp;&nbsp; at
jcifs.smb.SmbTree.send(</span><u><span style='font-size:14.0pt;font-family:
"Courier New";color:navy'>SmbTree.java:111</span></u><span style='font-size:
14.0pt;font-family:"Courier New";color:red'>)</span><span style='font-size:
14.0pt;font-family:"Courier New"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:14.0pt;
font-family:"Courier New";color:red'>&nbsp;&nbsp;&nbsp; at
jcifs.smb.SmbFile.send(</span><u><span style='font-size:14.0pt;font-family:
"Courier New";color:navy'>SmbFile.java:770</span></u><span style='font-size:
14.0pt;font-family:"Courier New";color:red'>)</span><span style='font-size:
14.0pt;font-family:"Courier New"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:14.0pt;
font-family:"Courier New";color:red'>&nbsp;&nbsp;&nbsp; at jcifs.smb.SmbFile.close(</span><u><span
style='font-size:14.0pt;font-family:"Courier New";color:navy'>SmbFile.java:1009</span></u><span
style='font-size:14.0pt;font-family:"Courier New";color:red'>)</span><span
style='font-size:14.0pt;font-family:"Courier New"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:14.0pt;
font-family:"Courier New";color:red'>&nbsp;&nbsp;&nbsp; at
jcifs.smb.SmbFile.close(</span><u><span style='font-size:14.0pt;font-family:
"Courier New";color:navy'>SmbFile.java:1015</span></u><span style='font-size:
14.0pt;font-family:"Courier New";color:red'>)</span><span style='font-size:
14.0pt;font-family:"Courier New"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:14.0pt;
font-family:"Courier New";color:red'>&nbsp;&nbsp;&nbsp; at
jcifs.smb.SmbFile.close(</span><u><span style='font-size:14.0pt;font-family:
"Courier New";color:navy'>SmbFile.java:1019</span></u><span style='font-size:
14.0pt;font-family:"Courier New";color:red'>)</span><span style='font-size:
14.0pt;font-family:"Courier New"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:14.0pt;
font-family:"Courier New";color:red'>&nbsp;&nbsp;&nbsp; at
jcifs.smb.SmbFileOutputStream.close(</span><u><span style='font-size:14.0pt;
font-family:"Courier New";color:navy'>SmbFileOutputStream.java:164</span></u><span
style='font-size:14.0pt;font-family:"Courier New";color:red'>)</span><span
style='font-size:14.0pt;font-family:"Courier New"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:14.0pt;
font-family:"Courier New";color:red'>&nbsp;&nbsp; at
java.io.FilterOutputStream.close(</span><u><span style='font-size:14.0pt;
font-family:"Courier New";color:navy'>FilterOutputStream.java:143</span></u><span
style='font-size:14.0pt;font-family:"Courier New";color:red'>)</span><span
style='font-size:14.0pt;font-family:"Courier New"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:14.0pt;
font-family:"Courier New";color:red'>&nbsp;&nbsp;&nbsp; at
com.tier3.filetrans.SambaFileUploader.push(</span><u><span style='font-size:
14.0pt;font-family:"Courier New";color:navy'>SambaFileUploader.java:89</span></u><span
style='font-size:14.0pt;font-family:"Courier New";color:red'>)</span><span
style='font-size:14.0pt;font-family:"Courier New"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:14.0pt;
font-family:"Courier New";color:red'>&nbsp;&nbsp;&nbsp; at
com.tier3.filetrans.SambaFileUploader.main(</span><u><span style='font-size:
14.0pt;font-family:"Courier New";color:navy'>SambaFileUploader.java:126</span></u><span
style='font-size:14.0pt;font-family:"Courier New";color:red'>)</span><span
style='font-size:14.0pt;font-family:"Courier New"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:14.0pt;
font-family:"Courier New"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:14.0pt;
font-family:"Courier New";color:red'>&nbsp;&nbsp;&nbsp; at
jcifs.smb.SmbTransport.send(</span><u><span style='font-size:14.0pt;font-family:
"Courier New";color:navy'>SmbTransport.java:641</span></u><span
style='font-size:14.0pt;font-family:"Courier New";color:red'>)</span><span
style='font-size:14.0pt;font-family:"Courier New"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:14.0pt;
font-family:"Courier New";color:red'>&nbsp;&nbsp;&nbsp; at jcifs.smb.SmbSession.send(</span><u><span
style='font-size:14.0pt;font-family:"Courier New";color:navy'>SmbSession.java:224</span></u><span
style='font-size:14.0pt;font-family:"Courier New";color:red'>)</span><span
style='font-size:14.0pt;font-family:"Courier New"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:14.0pt;
font-family:"Courier New";color:red'>&nbsp;&nbsp;&nbsp; at
jcifs.smb.SmbTree.send(</span><u><span style='font-size:14.0pt;font-family:
"Courier New";color:navy'>SmbTree.java:111</span></u><span style='font-size:
14.0pt;font-family:"Courier New";color:red'>)</span><span style='font-size:
14.0pt;font-family:"Courier New"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:14.0pt;
font-family:"Courier New";color:red'>&nbsp;&nbsp;&nbsp; at
jcifs.smb.SmbFile.send(</span><u><span style='font-size:14.0pt;font-family:
"Courier New";color:navy'>SmbFile.java:770</span></u><span style='font-size:
14.0pt;font-family:"Courier New";color:red'>)</span><span style='font-size:
14.0pt;font-family:"Courier New"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:14.0pt;
font-family:"Courier New";color:red'>&nbsp;&nbsp;&nbsp; at
jcifs.smb.SmbFile.close(</span><u><span style='font-size:14.0pt;font-family:
"Courier New";color:navy'>SmbFile.java:1009</span></u><span style='font-size:
14.0pt;font-family:"Courier New";color:red'>)</span><span style='font-size:
14.0pt;font-family:"Courier New"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:14.0pt;
font-family:"Courier New";color:red'>&nbsp;&nbsp;&nbsp; at
jcifs.smb.SmbFile.close(</span><u><span style='font-size:14.0pt;font-family:
"Courier New";color:navy'>SmbFile.java:1015</span></u><span style='font-size:
14.0pt;font-family:"Courier New";color:red'>)</span><span style='font-size:
14.0pt;font-family:"Courier New"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:14.0pt;
font-family:"Courier New";color:red'>&nbsp;&nbsp;&nbsp; at
jcifs.smb.SmbFile.close(</span><u><span style='font-size:14.0pt;font-family:
"Courier New";color:navy'>SmbFile.java:1019</span></u><span style='font-size:
14.0pt;font-family:"Courier New";color:red'>)</span><span style='font-size:
14.0pt;font-family:"Courier New"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:14.0pt;
font-family:"Courier New";color:red'>&nbsp;&nbsp;&nbsp; at
jcifs.smb.SmbFileOutputStream.close(</span><u><span style='font-size:14.0pt;
font-family:"Courier New";color:navy'>SmbFileOutputStream.java:164</span></u><span
style='font-size:14.0pt;font-family:"Courier New";color:red'>)</span><span
style='font-size:14.0pt;font-family:"Courier New"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:14.0pt;
font-family:"Courier New";color:red'>&nbsp;&nbsp; at
java.io.FilterOutputStream.close(</span><u><span style='font-size:14.0pt;
font-family:"Courier New";color:navy'>FilterOutputStream.java:143</span></u><span
style='font-size:14.0pt;font-family:"Courier New";color:red'>)</span><span
style='font-size:14.0pt;font-family:"Courier New"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:14.0pt;
font-family:"Courier New";color:red'>&nbsp;&nbsp;&nbsp; at
com.tier3.filetrans.SambaFileUploader.push(</span><u><span style='font-size:
14.0pt;font-family:"Courier New";color:navy'>SambaFileUploader.java:89</span></u><span
style='font-size:14.0pt;font-family:"Courier New";color:red'>)</span><span
style='font-size:14.0pt;font-family:"Courier New"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:14.0pt;
font-family:"Courier New";color:red'>&nbsp;&nbsp;&nbsp; at
com.tier3.filetrans.SambaFileUploader.main(</span><u><span style='font-size:
14.0pt;font-family:"Courier New";color:navy'>SambaFileUploader.java:126</span></u><span
style='font-size:14.0pt;font-family:"Courier New";color:red'>)</span><span
style='font-size:14.0pt;font-family:"Courier New"'><o:p></o:p></span></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

</div>

</body>

</html>