#I just keep getting that damn error

36 messages · Page 1 of 1 (latest)

lofty forge
#

It's not an Error to be honset but I want to receive an url link for the file

#

how i can get a file url guys

#

please help me

fresh delta
#

excuse me. but i don't understand the problem or the context of problem, can you explain me?

vivid crown
#

Can you show us your code?

lofty forge
#

i just want to make a function that get the file url from the bucket in appwrite

fresh delta
#

on a function?

lofty forge
# lofty forge

that is what I get when I use get_file_view() function

lofty forge
lofty forge
fresh delta
#

have you the id of image?

#

or file

#

i you have the file id, maybe you can create a specific string with the basic pattern of url

fresh delta
#

i don't know if this is a correct solution, maybe you can try, but stay attention with the roles on bucket, otherwise the file can be accessible to everyone

lofty forge
#

ok

#

thx

fresh delta
lofty forge
#

It does not work with me

fresh delta
#

ok but this api is for download

#

what should you do with the url?

lofty forge
#

even the download, it get the same result

fresh delta
#

ok but what should you do with the url?

lofty forge
#

I'll pass the parameters to the url

#

I need to send that url to the front-end developer

#

so he can handle it

fresh delta
#

ok and then you have to download or view it?

#

try to show us you code

vivid crown
#

getFileDownload returns the file content, same as getFilePreview

lofty forge
#

I could not find it