[jcifs] Problems with Attribute-caching after copyTo

Weber, Mirko Mirko.Weber at siltronic.com
Mon Jul 14 15:36:44 GMT 2008


Hello,

we are using a methode, where we first check if a destination file
exists, then copy from source to destination with the
SmbFile.copyTo-methode and then check again if the destination exists.
In the common case, that destination at the beginning not exists and the
copying works without error (and fast enough) the second call to
destination.exists() gives the wrong answer (false instead of right).

I think the copyTo-method should reset the attrExpiration of the
destination file, like other funktions. Maybe there are also other tasks
in the api with a similar behavior that should reviewt?

Thanks and kind regards,
Mirko

PS: Please take me cc at answering. I am not subscibt right now. Thanks.


Mirko Weber
Computer Integrated Manufacturing Freiberg
INFORMATION TECHNOLOGY
Siltronic AG
Berthelsdorferstrasse 113
09599 Freiberg, Germany
Tel. +49 3731 278-7271
mailto:mirko.weber at siltronic.com

SILTRONIC
> PERFECT SILICON SOLUTIONS
> 
</PRE><html><P><SPAN style="FONT-SIZE: 8pt"><FONT color=#000000><FONT face=Arial>
This communication and any files or attachments transmitted with it may contain information that is copyrighted or confidential and exempt from <br>  disclosure under applicable law. It is intended solely for the use of the individual or the entity to which it is addressed. <br>
If you are not the intended recipient, you are hereby notified that any use, dissemination, or copying of this communication is strictly prohibited. <br>
If you have received this communication in error, please notify us at once so that we may take the appropriate action and avoid troubling you further. <br> 
Thank you for your cooperation. Please contact your local IT staff or email <a href="mailto:info at siltronic.com?subject=Disclaimer">info at siltronic.com</a> if you need assistance.
</FONT></FONT></SPAN></P></html>
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the jcifs mailing list