I just wanted to know name of a file from the user inputted url.
Lets imagine my app user enters a url and try to get filename then web got text block will be uses( i am not sure ).
Then how Web Got Text block will give me filename?
Did you try something like this?
The web got file downloads the file.I only want to get name.
The filename is part of the path where it is start, so while it downloads it, you also get the name of the file.
Can you show an example?
With some screenshots…
But that is not in Web got text block.
Ok I think there is an issue with what the original problem is.
Please post your blocks of what a user enters, how, and how you call the web function please.
I dont know what you are wanting. Are you just trying to parse the URL they enter?
Are you trying to intercept the file, are you trying to check for errors?
Fill in the details please.
Without knowing what you want, first thing is to setup a check for the responseCode. If it is not 200 then you throw an error that it is either an invalid URL or there is another problem.
I want to know the filename.
Like when you use download component there is a block for ‘save file as’.I just wanted to get original filename not a custom generated by some math or other blocks.
Provide us with the url.
/Boban
Suppose the url is this
Then the filename will be 5145f4faf5cb694627e921c78d41b4779c08c5e0.png.
How can I get it ?
I will try this.
how to get exact filename from webviewer
can you get exact filename in webviewer in this link
https://tubidy.io/videoapi/download.php?id=U3drdkw0OE15Y255RFMrcENncTNzQVVB
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.