Bug #448
closedFileSystemDataStore class not configured for binary files
0%
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)
Updated by Matt Jones almost 23 years ago
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.
Updated by Matt Jones almost 23 years ago
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.
Updated by Dan Higgins over 22 years ago
added new methods which use streams rather than Readers and call the
stream-based methods when working with data files.