I'm using "restClient.uploadFile(file, toPath: destPath, withParentRev: nil, fromPath: sourcePath)", where file="someFileName", destPath="somePathOnMyDropboxAccount", and sourcePath="someLocalFilePath". But instead of the file uploading to the designated path, it uploads to "file/file", creating a folder of the same name as the file on my Dropbox root folder.
What I wanted to happen was to upload my file to a specific folder (that may or may not exist). How do I do that?