Page 1 of 1

Filename from URL

Posted: Sat Jul 28, 2007 10:10 am
by hach22
I have a URL like: http://www.abcd.com/12345 that give a download of a file xyz.jpg.
how can I get the string "xyz.jpg" from de http://www.abcd.com/12345
Thank you...

Posted: Sat Jul 28, 2007 10:22 am
by superdezign
You can't unless it's written somewhere in the source of the site, in which case you'd need to retrieve the site's contents first.

Posted: Sat Jul 28, 2007 5:12 pm
by feyd
The filename can be specified in the response headers.

Posted: Sat Jul 28, 2007 5:16 pm
by hach22
thank you, Resolved

spammer

Posted: Sun Jul 29, 2007 10:18 am
by shaitand
you can always spot them