Layer7 API Management

  • 1.  Unable to fetch file from SFTP sub directory_SFTP Listener service

    Posted Jul 02, 2018 05:35 AM

    Hi Team,

     

    I was trying to configure SFTP Listener service. In SFTP configurations if I select root folder, I could get the file and process further but the problem is when I try to pull some file from Sub directory. 

    SFTP Listener service is not working properly if I configure "Directory to Scan" as some sub directory. Is there any specific configuration I need to follow.

     

    I have attached my example configurations snap shots fir reference.

     

    Regards,

    Tarunraj



  • 2.  Re: Unable to fetch file from SFTP sub directory_SFTP Listener service

    Broadcom Employee
    Posted Jul 03, 2018 04:16 AM

    Hello Tarunraj,

     

    How about specifying your "Directory to Scan" as full path name starting with '/'?

    In my test environment, "/home/demo/test/subdir" is working well for the username "demo".

     

    I'm afraid that you missed to include '.' in your "Filter Files by Name" field. "RUN.*" should match with all file names start with "RUN" but "RUN*" matches with "RUN", "RUNN", "RUNNN", ...

     

    Cheers,

    Seiji



  • 3.  Re: Unable to fetch file from SFTP sub directory_SFTP Listener service
    Best Answer

    Posted Jul 10, 2018 09:08 AM

    Hi Seiji,

     

    Thanks for reply :-)

     

    Now the issue is solved, have used filter command : TestFile\d+\.txt