简体   繁体   中英

How to edit the file in swiftyDropbox?

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?

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)") }

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM