File Name
I want in the application to show the specific name of the uploaded file, not the key.


7 Replies
Is the name coming from the
name: url.split.pop?
yea, but gets the key not the file name, cuz the URL doesn t contain the file name
Show me the file upload code, how is the url being generated?
this is the terminal and this is how the url looks like:
"https://utfs.io/f/M0OG3UofIWx6z9oemYIMXDoEh3lg9TY2GtaCqdZ5WbPS4k8y"

sry, i was offline, this the file upload code

Line 17, 18. Use 'console.log(res)' to see if there is more data in res[0]. If there is more data here, modify your on change to take url and name both
thank you so much