We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.
Desktop
6 TopicsOffline files not downloaded when accessed programmatically (macOS)
Not sure where best to address this question, but it would appear to be API-related... We've got an existing app which has been working OK until recently on both Windows and Mac platforms, which accesses XML files stored in the user's local Dropbox folder. (The app is mainly cross-platform C++ with a thin layer of platform-specific code, which on the Mac side is Swift-based.) Until now, this has worked fine; while we use SwiftyDropbox on the Mac side for other communication with Dropbox, we haven't had to download the files through the API, we've relied on the Dropbox client app for that. But now a user, having done a clean install on a Mac, is reporting that the files are showing up as zero bytes; this would appear to be because they're arriving from the shared Dropbox folder and have not been synced locally for offline access, which I understand is the new default behaviour (though I note that the user is not yet running the FileProvider version of Mac Dropbox). The concern is that, while clicking on the file in Finder in the local Dropbox folder to open it triggers a sync and successfully opens the file... opening the file from within our C++ code doesn't. When we try to read it using standard ifstream and ostringstream calls, we get an empty buffer. Once we double-click the file in Finder, it reads it correctly (without even restarting our app). And the open calls still work fine with the same version of the Dropbox client on other machines, with files which are synced locally. So question #1 is, what do we need to do to open the file inside our program the same way as double-clicking in Finder? That would seem to be the simplest way to make the problem go away. (We could do this in either the C++ or Swift code as needed.) Question #2 is, is there any way to force these XML files *programmatically* to be available offline? Again, that would pre-empt the whole problem. Is there anything in the SwiftyDropboxAPI which can set a file to be synced locally? Failing that, our least-preferred solution is to download the XML file as a file through SwiftyDropbox, bypassing the local sync directory, and reading it like that. This would require a wider-scale re-engineering of our app, so we'd rather not do that at this point if we can help us. Which raises question #3 -- is this an issue which can be fixed by having the user upgrade to the FileProvider version? Will that resolve those kinds of sync issues? They're currently using client version 206.4.6506 on Sonoma 14.6.1; are there known issues there? (For the record, there seems to be something flaky about their Dropbox installation to begin with; the Dropbox shortcut link in the left-hand pane of the Finder window isn't showing the Dropbox icon, and there are no sync icons. I've suggested a reinstall, and will update as we get more information.1.1KViews0likes9CommentsSupport for DropBox Bussiness
Hi all. I need to add support for Dropbox Business in our existing integration. And I have to switch the existing Dropbox app from the access permissions model to utilizing scopes. I want to make sure that I don't have to create new app for that and I can use my existing app. Thanks in advance for your replies!3.2KViews0likes7CommentsSyncing a folder directly on to Dropbox.com without using the Dropbox App on the PC
I have already a Selective Sync set on my PC to Dropbox for certain folders. However, I want to keep operating a separate external drive directly to dropbox.com without the use of the Dropbox App because I want to avoid all those files to end up on my PC file explorer (limiting my memory capacity) as is the case when using the App. I'd appreciate some advise on how to proceed.Solved1.2KViews0likes4CommentsDetermine if file has finished synchronising
I have a simple problem: I store some data in DropBox which is shared between multiple people Several times people have started editing the data bnefore it has finished synchronising What I want is a simple routine which I can add to my application which determines whether a named file is synchronised, i.e. it is the same as the cloud version. If the file isn't synchronised I will simply wait for the automatic synchronisation to complete. The application is written in C# and is running on Windows 7 and 10 I have looked quite hard but I cannopt find an answer to this, apparently simple, question apart from "look at the DropBox App" which is precisely what my users dont do!Solved2.3KViews0likes5Comments