on 08-27-2020 10:41 AM
HI Team,
I have existing working interface, which is picking files from source SFTP server via SFTP sender channel. All of sudden, it started throwing error in channel
cd to /folderName/ failed. Maybe the directory does not exist. Error message is:
Below are exact logs in channel monitoring:
OK 8/26/2020 2:19:46 PM UTC Ignoring errors on pwd: false
OK 8/26/2020 2:19:46 PM UTC Listing /folderName/ OK
8/26/2020 2:20:12 PM UTC Directory under file Path returned 7,523. These include directories and links.
OK 8/26/2020 2:32:36 PM UTC Found 7523 file s 8/26/2020 2:32:36 PM UTC Exception received: 4: cd to /folderName/ failed. Maybe the directory does not exist. Error message is:
Investigated on below things:
I have checked by login to source sftp server , folder has, 0777 and files has 0777 permissions .. and default landing page is root/home directory..
if I put the single files name in channel as "Filename" parameter, its working .. but its not working when there are more files in source server ?
I tried to use permanent mode with parameter name - >connection.mode.permanent = true
I have also referred few notes - 1692819, 1859563 and 2401292 but could not fixed.
Regards,
Shiv
Hi!
I've faced similar issue once.
The point was that listing using the mask was prohibited by SFTP server settings. One could get the file by full name but it didn't return anything when the mask has been used in file name.
As the result, I requested changing settings on server side.
Regards, Evgeniy.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Evgeniy,
Thanks for reverting. Could you please help exactly what /which setting I need to ask SFTP server admin team to change?
and until this setting is removed from their end, we wont be able to pick files, even if directory has less files like 10 , is this understanding right?
Regards,
Shiv A
Hi Shiv!
In my case there was a dedicated setting for particular FTP server software. It enabled/disabled listing the files in directory using wildcards.
You can check it, using any command line FTP client. If server doesn't return anything when you use the wildcards - it's definitely the server's restriction.
Regards, Evgeniy.
User | Count |
---|---|
81 | |
11 | |
8 | |
8 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.