I had a similar problem when using Monticello with regular HTTP repository....I was not able to write literal widestrings as part of the source. In other words, if the compiled method would get a WideString as part of its literals, there was a problem with Monticello.... I can search the thread if you want... best, On Sun, May 12, 2013 at 11:03 AM, Hilaire Fernandes < hilaire.fernandes@gmail.com> wrote:
Hello,
I am using FTP Client to save xml file. Some of these files may be WideString, in that case the FTP Client fails. I got a ByteArray(Object)>>errorImproperStore
The code snippet to save is like this (client is ftp client) readonlyStream := ReadStream on: stream contents. client putFileStreamContents: readonlyStream as: aFilename
If I convert the content to ByteArray, in that case file is x4 times greater, which should not be the case.
Enclosed PharoDebug
Thanks
Hilaire
-- Dr. Geo http://drgeo.eu
-- Mariano http://marianopeck.wordpress.com