cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Update: Find information on Dropbox support during COVID-19 here
Close
cancel
Showing results for 
Search instead for 
Did you mean: 

How to edit the file in the Dropbox using swift

sathish
Explorer | Level 3

I am creating the Notes Application in Dropbox. The user Notes are storing in the Dropbox but I want to implement the editing function in Dropbox.Is it possible to edit the files in the Dropbox?

6 Replies 6

Re: How to edit the file in the Dropbox using swift

Dropboxer
Dropboxer

[Cross-linking for reference: https://stackoverflow.com/questions/44109508/how-to-edit-the-file-in-swiftydropbox ]

 

Yes, you can edit files of any type, including text files, by uploading the new file data. You can find an example of making an upload call in the documentation for SwiftyDropbox here:

 

https://github.com/dropbox/SwiftyDropbox#upload-style-request

Re: How to edit the file in the Dropbox using swift

sathish
Explorer | Level 3

I found the answer and thanks for your help

 

https://stackoverflow.com/q/44109508/7756686 

Re: How to edit the file in the Dropbox using swift

sathish
Explorer | Level 3

It's possible to import user account profile image using swiftyDropbox

Re: How to edit the file in the Dropbox using swift

Dropboxer
Dropboxer

[Cross-linking for reference: https://stackoverflow.com/questions/44109508/how-to-edit-the-file-in-swiftydropbox?noredirect=1#comm... ]

 

You can get the profile image via Account.profilePhotoUrl, e.g., as returned by getCurrentAccount.

Re: How to edit the file in the Dropbox using swift

sathish
Explorer | Level 3

Here, it's like setting the photo and names.I want to retrieve the user's profile picture.

Re: How to edit the file in the Dropbox using swift

Dropboxer
Dropboxer
I'm not sure I follow. If you call getCurrentAccount you can get Account.profilePhotoUrl which is a URL to the profile picture. If that's not what you're looking for, can you elaborate?

Work Smarter with Dropbox

The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.

Sound good? Let's get started.
Who's talking

Top contributors to this post

What do Dropbox user levels mean?
Need more support?