ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

FTP job is failing: Source file does not exist


Article ID: 223070


Updated On:


CA Automic Workload Automation - Automation Engine


FTP job is failing with the error message belo.


2021-08-26 12:54:22             Copying from CONN.FTPAGENT to Local File System

2021-08-26 12:54:22             copy //Home/casplda02/univa/* to \\caspda01\files

2021-08-26 12:54:22             host name = casplda02, remote user identification  = uch_dev_UC4

2021-08-26 12:54:22             connecting on port : 1641

2021-08-26 12:54:22             Using hosts file = C:\Users\svc_Auto_Engine_dev/.ssh/known_hosts

2021-08-26 12:54:22             Connecting to casplda02 port 1641

2021-08-26 12:54:22             Connection established




2021-08-26 12:54:23             sftp channel opened

2021-08-26 12:54:24             0 files transferred, 1 not processed -

2021-08-26 12:54:24             Disconnecting from casplda02 port 1641

No such file

com.uc4.ftpjob.DataTransferException: Source file does not exist: //Home/casplda02/univa/, can't open file.

        at com.uc4.ftpjob.commands.impl.CopyCommand.execute(

        at com.uc4.ftpjob.commands.ThreadPoolJobExecutor$

        at java.base/java.util.concurrent.Executors$

        at java.base/

        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(

        at java.base/java.util.concurrent.ThreadPoolExecutor$

        at java.base/

Caused by: com.uc4.ftpjob.DataTransferException: No such file

        at com.uc4.ftpjob.commands.SFtpCommandImpl.getInputStream(

        at com.uc4.ftpjob.commands.FtpFacadeCommandImpl.getInputStream(

        at com.uc4.ftpjob.commands.impl.CopyCommand.execute(

        ... 6 more

Caused by: 2: No such file

        at com.jcraft.jsch.ChannelSftp.throwStatusError(

        at com.jcraft.jsch.ChannelSftp._stat(

        at com.jcraft.jsch.ChannelSftp.get(

        at com.jcraft.jsch.ChannelSftp.get(

        at com.uc4.ftpjob.commands.SFTPHelperDelegate$


Release :

Component :


Troubleshooting steps:

-Check  if the login user in the ftp Connection object has the proper rights on this file