Greetings,
I am trying to take an image off the new and save it to a file. This is what I have so far:
(FileStream newFileNamed: 'test.jpg')
nextPutAll: ('http://freetalklive.com/images/amondson.jpg' asUrl retrieveContents) getContentFromStream;
close
The image exists, is found, and the file is written. There is something wrong with the format of the local jpg.
(FileStream newFileNamed: 'test.jpg') binary;
nextPutAll: ('http://freetalklive.com/images/amondson.jpg' asUrl retrieveContents) content;
close.