Name of file saved through angular ui

  Kiến thức lập trình

In my angular application, there is a feature to download a file.

When the user clicks on download, the “save as” window opens up and the user can then set a name to that file, and save it.

I want to know the name of that file that user set. I know that the full path can not be retrived as mentioned in this -> Get browser download path with javascript, and i dont need the full path, I just need the file name

Is there any way?

Theme wordpress giá rẻ Theme wordpress giá rẻ Thiết kế website

LEAVE A COMMENT