Bug #448
closed
FileSystemDataStore class not configured for binary files
Added by Dan Higgins over 22 years ago.
Updated over 22 years ago.
Category:
morpho - general
Description
currently, the FileSystemDataStore class is set up to work with 'Reader' object;
i.e. character streams. This causes problems for binary data files like jpeg or
gif images (corrupts the data). Need to revise to handle arbitrary file. (i.e.
streams)
Actually, it is configured for binary data. We definitley support the upload of
binary data files -- uploading images would need to work the same way. So
Morpho will need to send images in the same way that it sends data files. Then
Metacat will handle it properly. If you just send it as if it is an XML file
then it will fail.
Oops. I htought you were talking about Metacat! If this is a Morpho issue,
then it probably is really an issue! Sorry about my confusion.
added new methods which use streams rather than Readers and call the
stream-based methods when working with data files.
Original Bugzilla ID was 448
Also available in: Atom
PDF