http request

  • Thread starter Thread starter James Page
  • Start date Start date
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
 
Back
Top