Files outside parser directory....

Discussion in 'A-Parser Support Forum' started by scrapefun, Jan 25, 2017.

  1. scrapefun

    scrapefun A-Parser Enterprise License
    A-Parser Enterprise

    Joined:
    Feb 24, 2015
    Messages:
    184
    Likes Received:
    34
    How do you access files outside the parser directory with the latest version?

    I've followed the directions:

    In config / config.txt you need to register the file:
    allow_outside_files: 1
    and restart the parser

    So the only thing I have in the config.txt file is the line:
    allow_outside_files: 1

    After restarting and trying to access queries file outside parser directory I don't see any way to select files outside the directory.

    Think I'm missing a step or two :)
     
  2. Support

    Support Administrator
    Staff Member A-Parser Enterprise

    Joined:
    Mar 16, 2012
    Messages:
    4,532
    Likes Received:
    2,159
    This setting is for results files and allows the use of manually specified paths for files results.
    For queries files custom path can be passed only through the API.
    We recommend using this setting only in exceptional cases, because this may affect the safety of the parser.
     
  3. scrapefun

    scrapefun A-Parser Enterprise License
    A-Parser Enterprise

    Joined:
    Feb 24, 2015
    Messages:
    184
    Likes Received:
    34
    ok, thanks for the clarification.

    So do you just specify a normal file path?
    c:\path\to\results\results.txt

    Can you use this for the path of "failed" query files as well?
     
  4. Support

    Support Administrator
    Staff Member A-Parser Enterprise

    Joined:
    Mar 16, 2012
    Messages:
    4,532
    Likes Received:
    2,159
    Yes
    No
     

Share This Page