Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have an FTP connection to an AS400, when I try to use the tFTPPut component I receive the following error:
The system cannot find the path specified.
Exception in component tFTPPut_1 (Unemployment_File)
com.enterprisedt.net.ftp.FTPException: 501 Specified object name too long, limit is 10 characters:
The AS400 adminstrator gave me a couple of suggestions:
cd /xxxx/xxxx/xxxx
or
Hi,
As the error suggests the issue is because of the length of the file name is grater than 10 characters. Did you rename your file to AS400 format while transferring the file?
Screenshots of the Job and the tFTPPut component will helpful to identify the root cause quickly.
Warm Regards,
Nikhil Thampi
Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
It is not the length of the file name that is causing the issue, it is the directory name per our AS400 DBA. The tFTP out is trying to go to a library - I need it to go to a file directory.
Hi,
If its the remote directory problem, you will have to print the output of the context variable NA_PWEB_File_Loc and see whether it is having right value. Could you please check the value in the New name area of the tFTPPut.
I have not personally worked in AS400 till now. But my understanding is that it will not take regular file names. So could you please print the value of file name you are trying to give in target area and see whether it is according to AS400 standards.
Warm Regards,
Nikhil Thampi
Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
I am not pretty sure about how to manage FTP properties for AS400 systems. Lets check it with @xdshi
Warm Regards,
Nikhil Thampi
Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
I changed the format of the directory and it is putting the files in the FTP directory now but it throws a 550 access denied error even though it is putting the files in the diretory.