Problem with updating(GET) application with "syncfile"

Discussions about syncing data via Bluetooth, Dropbox, FTP, and using CSWeb
Forum rules
New release: CSPro 8.0
Post Reply
Merlino
Posts: 4
Joined: June 1st, 2017, 2:37 pm

Problem with updating(GET) application with "syncfile"

Post by Merlino »

Hello the experts of the support CSPro!
I read in the help(assistant) of the version 7 what follows:
" When downloading files using GET, syncfile first looks to see if the file already exists on the client device. If it does, it only downloads the file if the server has a different version. It uses the file signature (MD5) to determine if the version of the file on the server is different. "

But I notice that every time I transfer the data, the application is systematically updated even if nothing changed on the server. I add this code (syncfile(GET, "Menu/MenuCMR.pen", "MenuCMR.pen") and introduced a message to confirm the successfull of this syncfile and i noticed every time that the application is updated even if nothing changed.
Thank you!
josh
Posts: 2399
Joined: May 5th, 2014, 12:49 pm
Location: Washington DC

Re: Problem with updating(GET) application with "syncfile"

Post by josh »

Which server type are you using? CSWeb, FTP or Dropbox? Can you post the sync.log file from your device?
Post Reply