Back

[SOLVED] Cannot updateFile

  • 0
  • Web
QueenB
9 Jul, 2023, 14:07

I created a profile picture functionality for a user, but I wanted to add an update profile picture function. I am not exactly how to use the function , the documentation says updateFile(BUCKETID,FILEID) only , but this doesn't change the content of the file.

TL;DR
The user was trying to update a profile picture but was unsure how to use the updateFile function. They were confused because the function only allows updating file permissions and not the content itself. A solution was provided in a link to a Discord thread, which explains that the updateFile function is only for changing file permissions. There is no solution for updating the content of the file mentioned in the thread.
Binyamin
9 Jul, 2023, 14:18

updateFile for now is only for updating the file permission Check this thread https://discord.com/channels/564160730845151244/1115313231985131591/1115314582395834509

QueenB
9 Jul, 2023, 14:30

Oh okayy thank you

Drake
9 Jul, 2023, 19:38

[SOLVED] Cannot updateFile

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more