|
forums.silverfrost.com Welcome to the Silverfrost forums
|
View previous topic :: View next topic |
Author |
Message |
wahorger
Joined: 13 Oct 2014 Posts: 1243 Location: Morrison, CO, USA
|
Posted: Fri Jan 18, 2019 6:11 am Post subject: When using Dropbox and Google Drive |
|
|
I started off finding "problems" in my code and tracked the issues to Dropbox and similar programs of its ilk (Google Drive, One Drive, etc.).
The issue comes when you open a file (usually with exclusive access) immediately after closing it after updating it. Other programs (Quicken comes to mind) also have poor interactions when this occurs.
The manifestation is that when you open the file for exclusive access (after it has been changed), Dropbox may already have control of the file, and the open will fail. The likelihood is 90+%. With Quicken, it is every time. It depends on the size of the file, and the delay between closing it and re-opening it. The time it takes Dropbox to send the file to the server is also part of the equation.
The key is to do one of the following:
Wait for a sufficient amount of time before re-opening the file
Wait for the file to be come available by retrying the open
Pause the Dropbox (or similar) application
I have also seen this interaction when performing a compile, where the object folder is being monitored for changes. It is much more unlikely. Perhaps 1 in every 600 compile operations has an issue. As I say, it is rare. |
|
Back to top |
|
|
wahorger
Joined: 13 Oct 2014 Posts: 1243 Location: Morrison, CO, USA
|
Posted: Mon Jan 21, 2019 5:55 am Post subject: |
|
|
John, yes, it works great! I have an upgraded account, so it saves the last 120 days of changes for me. That's source, command files, etc. Anything that is on the drive. I save the executables, objects, etc. on a different logical drive anyway so it doesn't clutter up my space, AND since it will upload a file when it changes (i.e. a re-link), it uses time and bandwidth fo larger files (like executables).
If I don't need it to be updating, I just tell it to pause syncing. |
|
Back to top |
|
|
mecej4
Joined: 31 Oct 2006 Posts: 1899
|
Posted: Mon Jan 21, 2019 5:02 pm Post subject: Re: |
|
|
John-Silver wrote: | WOW !
You use Dropbox as a remote folder !?! Brave man.
I use simply as storage.
I didn't eveen know you could open/resav files in there.
Useful to knoq this though, thanks for the tip. |
There are many utilities that let you map Web storage to a Windows drive letter. One example is NetDrive: http://www.netdrive.net . Other cloud hosts such as Dropbox may have a desktop client that you can download and use for the same purpose.
If multiple users are likely to access such a mapped drive at the same, adequate steps need to be taken to avoid leaving files in incoherent states. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|