I can't seem to create a simple x-callback-url that will open a file within a dropbox folder and use a workflow on it. Help?
So my understanding is that the URL scheme looks like this:
No matter what I've tried, I get a "Not Found" error. The one exception has been files at the top level of my local folder. My guess is that I'm not properly specifying the directory within dropbox. How would I do so?
Thank you for any help!
What does your folder look like? Are you escaping special characters properly (e.g. spaces would have to be represented as %20 to be valid in a URL)
Also note that the folder is relative to the sync folder you selected for Editorial, and not relative to the Dropbox root folder. E.g. if you have a file that looks like "/Apps/Editorial/MyFolder/MyFile.txt" in Dropbox, and "/Apps/Editorial" is Editorial's sync folder (the default), you would reference MyFile.txt as "MyFolder/MyFile.txt", and not as "Apps/Editorial/MyFolder/MyFile.txt".
Thanks for the suggestions!
As for your second comment, I have considered that. I've managed to access a file if it's at the top of the synced folder in dropbox, but I don't know how to specify a particular directory. Lets say within my dropbox sync folder I have two other folders called Folder A and Folder B. And in Folder A I want to access a file named "Untitled File.taskpaper".
What would the URL look like? I realize that "Untitled File.taskpaper" would be "Untitled%20File%2etaskpaper". I've tested this and it works... How would I specify that the file is in Folder A?
I've figured it out. Thanks for leading me in the right direction!
Just in case someone in the future stumbles upon this thread, here's the answer to my own question:
The file: "Untitled File.taskpaper"
The Directory: "Folder A"
"Folder A" is in the dropbox sync folder that omz referenced in his message.
Just as a tip, you don't have to escape the forward-slashes in the path (it doesn't really matter, but the URL is a bit more readable if they're not escaped).