[Glass] FileStream vs GsFile
BrunoBB via Glass
glass at lists.gemtalksystems.com
Wed Aug 19 12:27:05 PDT 2015
Hi,
My Seside application has two services:
1- PUT that is called by a Java app to store a file.
2- GET that is called by a Java app to obtain the stored file.
I have noticed that GsFile is much more faster than FileStream (in
writting).
The problem that i'm having is with the GET service.
It seems that:
FileStream read: myPathFile type: #binary.
"is NOT equivalent with: "
GsFile openOnServer: myPathFile mode: 'rb'.
"to pupulate the file i use #nextPutAll: #flush #close en both cases"
With FileStream it works ok, with GsFile the Java fail with the following
error:
xf:submission: binary serialization with anyURI type failed reading URL.
Are these two sentences equivalent ?
Of course i wanna use GsFile because is much faster.
Still researching this...
Regards,
Bruno
--
View this message in context: http://forum.world.st/FileStream-vs-GsFile-tp4844137.html
Sent from the GLASS mailing list archive at Nabble.com.
More information about the Glass
mailing list