Skip to Content

SFTP sender channel error., shows directory is empty.

Dear Experts,

I'm working on a scenario where I'm using SFTP sender channel.

The channel is polling but it shows that the directory is empty, whereas files are placed in that directory.

These are my channel configuration details:
Filename : [a-z,A-Z,0-9].*\.txt$
Directory: /Inbox

Please find the below screenshots as reference:

Regards,

Vidhya

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

11 Answers

  • Feb 13, 2017 at 10:25 AM

    Hi,

    Do you know the exact pattern of file names? You can mention that pattern instead of the generic one you mentioned in your channel. One more thing, in the channel you have configured name as .xml whereas in the message you mentioned .txt files. Check on this point as well.

    Regards, Supriya.

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 13, 2017 at 11:01 AM

    Hi,

    I suspect it as file name pattern issue only; just try to give specific file name in channel and try to pick that file. If that works, then you may have to consider giving specific file name pattern only.

    Regards,
    Supriya.

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 13, 2017 at 11:28 AM

    Can you post what is the name of the file in the directory

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 13, 2017 at 12:46 PM

    Try the below pattern and see if it works

    Filename :

    [a-z,A-Z,0-9].*\.TXT or .*. if you wish to pick all the files.

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 14, 2017 at 08:05 AM

    Hi Vidhya,

    Just to rule out any file permission issues, did you already check if the folder Inbox has read, write and execute access?

    Regards,

    Karthik

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 14, 2017 at 08:09 PM

    Hi Vidhya!

    Set the exact name of any of your files as file name in adapter's parameters. If adapter still can't see that file - most likely it's permission issue.

    Regards, Evgeniy.

    Add comment
    10|10000 characters needed characters exceeded

    • This means that user doesn't have sufficient permissions to view the folder contents. FTP server can respond to this by two ways: raise error or show empty directory. Ask your FTP server provider team for assist.

      Regards, Evgeniy.

  • Feb 15, 2017 at 09:10 AM

    In the screenshot permissions are not clear.

    also check for any locks in nwa.

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 15, 2017 at 01:26 PM

    Hi,

    From the original screenshot you have given your regular expression shows [a-z,A-Z,0-9].*\.xml which would not work with the files that you have shown in the other posts. If you have updated to the .txt extension and it still does not work then I think you need to look at the user permissions for the files in the /Inbox directory.

    Regards,

    Ryan Crosby

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 16, 2017 at 08:29 AM

    try to delete the channel and create again.

    Regards

    GB

    Add comment
    10|10000 characters needed characters exceeded

    • then make another reciver channel and try to place file in same folder.

      and then use this channel to pick the file.

      And also use the same login Id and password by which you are checking the folder

      regards

      Gb

  • Feb 22, 2017 at 04:32 AM

    hi Vidhya,

    We faced a similar kind of situation and we set the "time out" parameter in the channel and it worked. Hence please enter a value in TimeOut parameter and check.

    Thanks

    T

    Add comment
    10|10000 characters needed characters exceeded