com.trilead.ssh2.SFTPException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • In the FTP Delete job entry, using the SSH protocol, the job will use the remote user's home directory, regardless of what is entered in the Remote Directory field. To reproduce: 1) Ensure your environment is set up correctly to perform SSH. 2 In PDI, open the attached Job and then the FTP Delete job entry and alter the connection parameters as required. 3) On the Files tab, ensure the directory specified by the "Remote directory" field is not the remote user's home directory. 4) Create a file (if it does not exist) called "delete_me.txt" in the directory specified by the "Remote directory" field. 5) Run the job, something similar to the following error should be displayed: 2012/05/21 13:21:50 - Set variables - ERROR (version 4.3.1 from 2012/05/21 11:32:41.298) : Error getting files from FTP : No such file (SSH_FX_NO_SUCH_FILE: A reference was made to a file which does not exist.) 2012/05/21 13:21:50 - Set variables - ERROR (version 4.3.1 from 2012/05/21 11:32:41.298) : com.trilead.ssh2.SFTPException: No such file (SSH_FX_NO_SUCH_FILE: A reference was made to a file which does not exist.) 2012/05/21 13:21:50 - Set variables - ERROR (version 4.3.1 from 2012/05/21 11:32:41.298) : at com.trilead.ssh2.SFTPv3Client.openDirectory(SFTPv3Client.java:823) 2012/05/21 13:21:50 - Set variables - ERROR (version 4.3.1 from 2012/05/21 11:32:41.298) : at com.trilead.ssh2.SFTPv3Client.ls(SFTPv3Client.java:930) 2012/05/21 13:21:50 - Set variables - ERROR (version 4.3.1 from 2012/05/21 11:32:41.298) : at org.pentaho.di.job.entries.ftpdelete.JobEntryFTPDelete.execute(JobEntryFTPDelete.java:759)
    via by Matt Burgess,
  • In the FTP Delete job entry, using the SSH protocol, the job will use the remote user's home directory, regardless of what is entered in the Remote Directory field. To reproduce: 1) Ensure your environment is set up correctly to perform SSH. 2 In PDI, open the attached Job and then the FTP Delete job entry and alter the connection parameters as required. 3) On the Files tab, ensure the directory specified by the "Remote directory" field is not the remote user's home directory. 4) Create a file (if it does not exist) called "delete_me.txt" in the directory specified by the "Remote directory" field. 5) Run the job, something similar to the following error should be displayed: 2012/05/21 13:21:50 - Set variables - ERROR (version 4.3.1 from 2012/05/21 11:32:41.298) : Error getting files from FTP : No such file (SSH_FX_NO_SUCH_FILE: A reference was made to a file which does not exist.) 2012/05/21 13:21:50 - Set variables - ERROR (version 4.3.1 from 2012/05/21 11:32:41.298) : com.trilead.ssh2.SFTPException: No such file (SSH_FX_NO_SUCH_FILE: A reference was made to a file which does not exist.) 2012/05/21 13:21:50 - Set variables - ERROR (version 4.3.1 from 2012/05/21 11:32:41.298) : at com.trilead.ssh2.SFTPv3Client.openDirectory(SFTPv3Client.java:823) 2012/05/21 13:21:50 - Set variables - ERROR (version 4.3.1 from 2012/05/21 11:32:41.298) : at com.trilead.ssh2.SFTPv3Client.ls(SFTPv3Client.java:930) 2012/05/21 13:21:50 - Set variables - ERROR (version 4.3.1 from 2012/05/21 11:32:41.298) : at org.pentaho.di.job.entries.ftpdelete.JobEntryFTPDelete.execute(JobEntryFTPDelete.java:759)
    via by Matt Burgess,
    • com.trilead.ssh2.SFTPException: No such file (SSH_FX_NO_SUCH_FILE: A reference was made to a file which does not exist.) at com.trilead.ssh2.SFTPv3Client.openDirectory(SFTPv3Client.java:823) at com.trilead.ssh2.SFTPv3Client.ls(SFTPv3Client.java:930) at org.pentaho.di.job.entries.ftpdelete.JobEntryFTPDelete.execute(JobEntryFTPDelete.java:759)
    No Bugmate found.