|
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
|