Vicnet wrote:
Hello,
I try to use Directory addTree:
The src directory I use containts jpeg file. addTree fails because FileKernel use a FileJpeg in InputStream and there is a input pb on this file.
an input what?
I try to add binary mode :
base binary addTree: dest
but it is the same result: input error.
When I copy this file directly with binary mode, it is ok.
addTree collect files/dirs to copy but dot not transmit the binary flag. Is it normal ?
Directory home binary files first isBinary ==> false !
Should it be true ?
the #copyTo: uses binary by default. However copyLocalFile:toLocalFile: chooses from a variety of copying methods I understand that there is a bug here, but I am not really sure what the problem is with the jpeg file. Keith
Is there another, 'official', way to binary recursive copy ?
I use Pharo on Windows plateform.
a+ Vicnet