Monday, January 09, 2012 8:11 AMI sync some informations to Server db，and with large Image。for each update，i have to Upload image to Server。now，if the image is not changed，i don't want to Upload the image to the Server。 how can i do？
Tuesday, January 10, 2012 2:44 AMModeratoris the image a blob in your database?
Tuesday, January 10, 2012 3:49 AM
yes，the image is a blob in database。the image is large，so if the client have not changed the image ，i don't want to upload again,
i just want to update text information. now,I add a new sync scope to the same table,one just for text ,and one for text + image.
but now, the table [scope_parameters] throw exceptions, because the sync_scope_name is not exist.
how can i solve this problem?
Tuesday, January 10, 2012 3:57 AMI hava got a solution, for each update , i can upload a filed，to mark the image if had updated， and i load the image from the Server db，and set to model，insert to db again。 but it will cause bad performance。
Thursday, January 12, 2012 9:48 AM
You should defined a separate scope just for the image.
And i suggest to enable content compression.
Senior Jack of all trades
Thursday, January 12, 2012 10:15 AM
I had try it like you said.
If defined a separated scope just for image,I hava to save two Server Blob,one for image ,and one for text.
Is it means I must to separate the business logic,? One for sync image , and one for sync text ,and add Table Relations?
I think in the next version I have a lot of work.
Thursday, January 12, 2012 10:21 AM
I had already read your article about compression for large file.
Thanks very much.