Dear All,
I am writting some script in which i need to download the contents of "C" directory of path "/A/B/C/" which resides on web
so tried this
#wget -l1 -r -A "*.txt"
http://localhost/A/B/C/
it is downloading the full path as
/A/B/C/a.txt and in my currentd directory showing directory A which contains directory B and which further contains C and which contains a.txt file
but i need only text file a.txt should be downloaded except the full path to that file , so, what are the possible ways to do that , any options available in wget or not . i tried it but couldn't able to found out.
If something is not clear in above question then feel free to ask, i wil try to elaborate
Any help appreciated,
-jack