CrazyEngineers
  • Directory access files

    monujatt

    monujatt

    @monujatt-1M9EHi
    Updated: Oct 14, 2012
    Views: 1.2K
    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
    0
    Replies
Howdy guest!
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a member of our community. Consider creating an account or login.
Replies
  • Vishal Sharma

    MemberOct 15, 2012

    monujatt
    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
    can you be a li'l more clear!? last lines go over my head.. 👀
    Are you sure? This action cannot be undone.
    Cancel
  • Jeffrey Arulraj

    MemberOct 15, 2012

    monujatt
    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
    Kindly don't use SMS text here and be more specific Do you want to know how to defaultly specify a place for downloading your contents
    Are you sure? This action cannot be undone.
    Cancel
Home Channels Search Login Register