In my project, I uploaded all my text files to the Dropbox. Here, I need to directly edit the uploaded file in Dropbox using swift. Is it possible to edit files in Dropbox? (OR) Is it possible to overwrite the same fileName in Dropbox?
3
-
[Cross-linking for reference: dropboxforum.com/t5/API-support/… (fixed link) ]– GregCommented May 23, 2017 at 5:07
-
@Greg How should I fetch the profile picture of the user account to my program.– Sathish Kumar GurunathanCommented May 23, 2017 at 7:45
-
[Cross-linking for reference: dropboxforum.com/t5/API-support/… ]– GregCommented May 23, 2017 at 18:27
Add a comment
|
1 Answer
Solution moved from @SathishKumarGurunathan's question post.
I found the answer and I will share here.
_ = client?.files.upload(path: path, mode: .overwrite, autorename: false, clientModified: nil, mute: false, input: Description).response { response, error in if let response = response { print("The upload response is \(response)") } else if let error = error { print("The upload error is \(error)") } } .progress { progressData in print("The progress Data is \(progressData)") }