Thanks Richard. What would be considered a large file? In my case I would guess 
the average file is around 1mb though in some cases it could be up to 5mb.

In some cases the user has been able to recover from  the “~” file but not 
always. But it’s disconcerting to them that they never know when it might 
happen again. And it’s amazing how many people don’t have a backup plan in 
place.

Marty

> On Jan 28, 2020, at 6:12 PM, Richard Gaskin via use-livecode 
> <[email protected]> wrote:
> 
> Marty Knapp wrote:
> 
> > I have an app in which users create documents (stacks) that auto-save
> > when they're closed. I have a a few customers who are getting
> > corrupted stacks every once in a while. At least in a couple of cases
> > they are saving to a network server or over an internet connection.
> ...
> > Does anyone have any input with my shutdown routine? Ways of making it
> > more robust?
> 
> Save is save.  One command triggers the engine's save routine. Hard to get 
> leaner than that.
> 
> As a general rule, I would not advise saving large live documents over a 
> network, or to any folder managed by network sync (Dropbox, iCloud, 
> Nextcloud, etc.).  Tons of warnings from software vendors all over the web 
> about things like that.
> 
> Are the users able to recover from the "~" copy?
> 
> -- 
> Richard Gaskin
> Fourth World Systems
> 

_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to