You mix object serialization (write/read Object) with regular streams. You should try storing the file as is using the stream methods and verify each stage (that the downloaded file is identical).
-- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/codenameone-discussions. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/8af6efbb-ef0b-4c3e-94f6-340725f3f81c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
