Directory access files
I have to download pdf file and pdffilename comes from url as parameter
and my pdf is placed in d:/var/1/abc.pdf
my issue is if at run time i put /var/xyz.pdf as parameter so that my path becomes
d:/var/1/var/xyz.pdf and this path exists in my local and xyz.pdf will be download
So how i cn restrict so that it always pick file from d:/var/1/ directory
and my pdf is placed in d:/var/1/abc.pdf
my issue is if at run time i put /var/xyz.pdf as parameter so that my path becomes
d:/var/1/var/xyz.pdf and this path exists in my local and xyz.pdf will be download
So how i cn restrict so that it always pick file from d:/var/1/ directory
0