One Star

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 ...
3 REPLIES
Moderator

Re: Deleting all files in FTP folder using tFTPDelete connected to port 22

Hi,

Can you upload again the screenshots you wanted to show, please? For some reason it didn't make it to your post.

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: Deleting all files in FTP folder using tFTPDelete connected to port 22

Hi Sabrina,
Thanks for your help. Please let me know if additional information is need.
Thanks again,
Ernie
One Star

Re: Deleting all files in FTP folder using tFTPDelete connected to port 22

Thanks