http request

J

James Page

A quick question:
How do I retrieve the file name from the two URLs's:
www.mysite.com/file.aspx
or
www.mysite.com/folder/file.aspx

using the request object.

What I need is a simple way of returning the 'file.aspx'.

I've looked at request.url.segements() but this needs to specific to a
segement
In my case i need to extract the filename from any depth of url.

Any help would be appreciated - VB.net 3.5 please.

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,796
Messages
2,569,645
Members
45,367
Latest member
Monarch

Latest Threads

Top