| View previous topic :: View next topic |
| Author |
Message |
GregLand Valued Contributor


Joined: 15 Jun 2004 Posts: 212 Location: FRANCE
|
Posted: Fri Sep 03, 2004 9:47 pm Post subject: [resolved] Finding a filename of a link |
|
|
Hi everybody !
I would like to know how could I find the filename of a program I download on the web
I explain you...
Example of link : http://www.server.com/folder1/.../folderX/folderXX/program.exe
I would like to find the name of "program.exe" in an infobox
I tried to use the @name(http://www.server.com/folder1/.../folderX/folderXX/program.exe) but it doesn't work...
I tried so using the option fieldsep,/
but I don't know how many folders there are...
Is there a best soluce ?
-----::-----
PS : Sorry for my English...  |
|
| Back to top |
|
 |
SnarlingSheep Professional Member


Joined: 13 Mar 2001 Posts: 759 Location: Michigan
|
Posted: Fri Sep 03, 2004 10:17 pm Post subject: |
|
|
This is one way to do it, it will delete everything in %%url before the last "/":
_________________ -Sheep
My pockets hurt... |
|
| Back to top |
|
 |
GregLand Valued Contributor


Joined: 15 Jun 2004 Posts: 212 Location: FRANCE
|
Posted: Sat Sep 04, 2004 12:18 am Post subject: |
|
|
Very good !!!!!
It works very Nice !!
ThanX ! |
|
| Back to top |
|
 |
|