One Star

Problem to get a file from SFTP

Hi,
When I try to get a file which is in link directory on a SFTP server, I have this message :
Exception in component tFTPGet_1
4: Can't change directory: /aaa/bbb/
at com.jcraft.jsch.ChannelSftp.cd
The bbb directory is not realy a directory, it is a link.
I can't change nothing on this sftp.
Any ideas to resolve this problem ?
Thanks.
2 REPLIES
Moderator

Re: Problem to get a file from SFTP

Hi,
Could you show us your job screenshot so that we can see your component setting of tFTPget and find where is wrong, thanks.
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star

Re: Problem to get a file from SFTP

Hi,
3 days ago my job worked, but now, a directory in the sftp became a link and my job does not work.
This error becomes when I use the tftpGet component.
This component execute a "cd" command whatever happens, and this command crash !!
I try to keep the "remote directory" parameter empty, but the compilation does not work.
So, I have found a java code which substitute the tftpget component.
Vincent.