cancel
Showing results for 
Search instead for 
Did you mean: 

File communication channel issue : object name too long

Bhargavakrishna
Active Contributor
0 Kudos

Hi Experts,

My requirement is to place the successful files in folder and un-successful files in one folder after processing.

we used parameterized mapping to achieve this requirement.

I'm facing below issues, please help me to resolve.

" An error occurred while connecting to the FTP server. The FTP server returned the following error message: 'com.sap.aii.adapter.file.ftp.FTPEx: 501 Unexpected reply codeSpecified object name too long, limit is 10 characters: $Filepath_Su.'. For details, contact your FTP server vendor.

As per my understanding it is not taking the path specified,because of length issue.

Please send me your valuable inputs and help me.

Thanks in advance for your help.

Regards

Bhargava Krishna

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

I am the Windows server admin here at the company and ran across this post while searching for the solution hah   Actually the FTP servers in question here are not Windows they are iSeries.  I have very limited insight into the iSeries servers but I checked the small amount of settings I have access to check and compared them to our production iSeries system and found no differences so our iSeries team are now investigating.

Former Member
0 Kudos

I have some familiarity with the iSeries. In our landscape, we are picking up and dropping off numerous files whose length is greater than 10 characters.

For the folder you are trying to create these files, where does it exist on the iSeries? Is it under /File Systems/Integrated File System/Root?

Can you look at the file path via the iSeries Navigator?

Former Member
0 Kudos

Hello,

By loking ur error description, it's quite evident that it's a FTP sever issue?

Sometime on FTP server, there is a check which is enabled to limit the length of file names, and i think the same has been recently implemented on ur FTP server. So instead of changing ur config, check with ur FTP admin.

Tested the same after tweaking existing FTP server settings.

Thanks

Amit Srivastava

Bhargavakrishna
Active Contributor
0 Kudos

Hi Amit,

i will check with FTP team and update the status.

Regards

Bhargava Krishna

former_member184720
Active Contributor
0 Kudos

Hi Bhargava - Are you sure it's because of the length?

Are you able to connect to that FTP server using filezilla by giving full path?

Are you setting the directory value using dynamic configuration/variable sub? If so you might want to check if the value is being populated correctly after the mapping..

501 could be a syntax error -> and may be as you got $ in your folder path it's throwing such error..

You can even try testing it by giving the actual path in receiver channel directly and see if it works..

Bhargavakrishna
Active Contributor
0 Kudos

Hi Hareesh,

i'm not sure, that is what showing in the file communication channel log.

yes im setting the directory using dynamic configuration. i checked after the mapping, it populated successfully.

the interface worked till yesterday, suddenly stopped working and throwing the above error.

former_member184720
Active Contributor
0 Kudos

Did you try configuring the path directly in the receiver channel and see if the file goes through?

Bhargavakrishna
Active Contributor
0 Kudos

Hi Hareesh,

no i didn't try since we have dependencies in mapping.

so you mean to say i should mention the path and file name directly in the communication channel.

i'm only using dynamic configuration for receiver file communication channel.

i specified folder path and file name in the sender file communication channel.

Please refer the attached UDF for ur reference.

Thanks

Bhargava Krishna

former_member184720
Active Contributor
0 Kudos

I understand that but just to make sure that it's not an issue with PI, i suggested to change the receiver channel configuration.

If possible i would give a try and see if that works.

If you still get an issue then you can check with your FTP admin if something has got changed at their end..

Bhargavakrishna
Active Contributor
0 Kudos

Hi Hareesh,

I will create new scenario and maintain directory name and file name in that.

i will update the status a soon as i can.

Thank you very for your prompt response.

Regards

Bhargava Krishna

former_member184720
Active Contributor
0 Kudos

btw..what is your FTP server? windows?AS400?

also you can just give a try from filezilla or any other coreftp too..

Bhargavakrishna
Active Contributor
0 Kudos

Hi Hareesh,

We are using Windows server.

i have limited access to FTP server, i requested FTP team to test with Filezilla.

The other scenarios are working fine with the same FTP server, but the only difference is we are not using dynamic configuration for file names and directory.

Regards

Bhargava Krishna