Need to see if your shared folder is taking up space on your dropbox 👨‍💻? Find out how to check here.

Forum Discussion

reiner_rosin's avatar
reiner_rosin
Explorer | Level 4
5 years ago
Solved

Forcing Dropbox to synchronize?

I have some trouble synchronizing a particular file on Windows 10. It's a database file of Filemaker Pro - the file is opened and in use the entire day. At evening Filemaker Pro is closed and the file ready to be synchronized. The computer is then shutdowned with a batch file, giving a 5 minute delay for synchronize before shutdown. This time is sometimes not long enough to have the file synchronized by Dropbox

 

I wonder if there is a way to force Dropbox to do the sync? It should be done within the batch file. I plan to shutdown and restart Dropbox, but I'd prefer a more elegant way, if available

 

Any hint?


  • reiner_rosin wrote:

    I wonder if there is a way to force Dropbox to do the sync? It should be done within the batch file


    No, that's not possible. There's no way to force Dropbox to sync. It just syncs automatically while it's open and when there isn't a lock on the files due to them being in use. As soon as your file is closed, Dropbox should index it and sync it if needed.

7 Replies

Replies have been turned off for this discussion
  • Rich's avatar
    Rich
    Icon for Super User II rankSuper User II
    5 years ago

    reiner_rosin wrote:

    I wonder if there is a way to force Dropbox to do the sync? It should be done within the batch file


    No, that's not possible. There's no way to force Dropbox to sync. It just syncs automatically while it's open and when there isn't a lock on the files due to them being in use. As soon as your file is closed, Dropbox should index it and sync it if needed.

  • azreiner's avatar
    azreiner
    Explorer | Level 4
    5 years ago

    I have a similar problem as well.  For some odd reason the database file will not update.  I've tried purging the cache and this did nothing.  It seems silly to have to delete the data base and reinstall it.  There must be a way to get Dropbox to do this automatically otherwise this negates the value.  My son works for Intel and he tells me this is an Apple/Dropbox issue and it cannot be resolved.  Any thoughts?

  • reiner_rosin's avatar
    reiner_rosin
    Explorer | Level 4
    5 years ago

    Thank you for your reply. Do you have any idea, why Dropbox doesn't detect the file is ready to sync, even within a 5 minute range? I guess I will try to update the last-modified timestamp of the file to see if Dropbox starts to sync then

  • Rich's avatar
    Rich
    Icon for Super User II rankSuper User II
    5 years ago

    reiner_rosin wrote:

    Do you have any idea, why Dropbox doesn't detect the file is ready to sync, even within a 5 minute range?


    Usually when this happens it because another application still has a lock on the file and Dropbox can't access it.

  • reiner_rosin's avatar
    reiner_rosin
    Explorer | Level 4
    5 years ago

    This I can exclude, the file isn't locked 100%. I can rename it and it gets synchronized immediately. I guess Dropbox is not periodically polling for file changes but is waiting for a signal from Windows. It seems after the file was locked for a long time Dropbox doesn't get informed properly after the lock is removed. 

  • Rich's avatar
    Rich
    Icon for Super User II rankSuper User II
    5 years ago

    reiner_rosin wrote:

    I guess Dropbox is not periodically polling for file changes but is waiting for a signal from Windows.


    That's exactly how it happens. Dropbox registers itself with the operating system to receive change notifications for everything in the Dropbox folder. It's not polling the folder itself.

  • Tunneller's avatar
    Tunneller
    Explorer | Level 3
    4 years ago

    I have a lot of .yaml files that I edit with Notepad. Dropbox routinely fails to notice changes on them. I don't know if that is a Windows or Dropbox issue. Either way, what works is to save the file to a new name - it will show up almost immediately as needing to be synced. Delete the old file. Then save that temporary file back as the original file name. Problem solved.

About Create, upload, and share

Find help to solve issues with creating, uploading, and sharing files and folders in Dropbox. Get support and advice from the Dropbox Community.

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!