com.trilead.ssh2.SFTPException: No such file (SSH_FX_NO_SUCH_FILE: A reference was made to a file which does not exist.)

Pentaho BI Platform Tracking | Matt Burgess | 5 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    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)

    Pentaho BI Platform Tracking | 5 years ago | 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.)
  2. 0

    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)

    Pentaho BI Platform Tracking | 5 years ago | 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.)

    Root Cause Analysis

    1. 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()
    2. Trilead
      SFTPv3Client.ls
      1. com.trilead.ssh2.SFTPv3Client.openDirectory(SFTPv3Client.java:823)
      2. com.trilead.ssh2.SFTPv3Client.ls(SFTPv3Client.java:930)
      2 frames
    3. org.pentaho.di
      JobEntryFTPDelete.execute
      1. org.pentaho.di.job.entries.ftpdelete.JobEntryFTPDelete.execute(JobEntryFTPDelete.java:759)
      1 frame