Deleting all files in FTP folder using tFTPDelete connected to port 22
Hello -
I am attempting to delete all files in a folder on a FTP connected to port 22 with "SFTP Support". I am getting the error message shown below.
I have attempted to connect using port 21 and get a timeout on connection.
The FTP user account allow for deletes - I tested it using FileZilla.
I have attached a screenshot of the component (took out the URL and userid - I have this info hardcoded). I am using a context variable for the FTP folder. The variable has worked on previous components in the job.
Any direction you can give will be appreciated. I have used the same component in another job connected to a server on port 21 (without SFTP support) and it worked great.
Thanks for your help,
Ernie
Exception in component tFTPDelete_2
4: Failure
at com.jcraft.jsch.ChannelSftp.throwStatusError(ChannelSftp.java:2846)
at com.jcraft.jsch.ChannelSftp.rm(ChannelSftp.java:1958)
at ...