File Name

I want in the application to show the specific name of the uploaded file, not the key.
No description
No description
7 Replies
ariadev
ariadev4w ago
Is the name coming from the name: url.split.pop?
dARUS
dARUSOP4w ago
yea, but gets the key not the file name, cuz the URL doesn t contain the file name
ariadev
ariadev4w ago
Show me the file upload code, how is the url being generated?
dARUS
dARUSOP4w ago
this is the terminal and this is how the url looks like: "https://utfs.io/f/M0OG3UofIWx6z9oemYIMXDoEh3lg9TY2GtaCqdZ5WbPS4k8y"
No description
dARUS
dARUSOP4w ago
sry, i was offline, this the file upload code
No description
ariadev
ariadev4w ago
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
dARUS
dARUSOP4w ago
thank you so much

Did you find this page helpful?