cancel
Showing results for 
Search instead for 
Did you mean: 

Error in File adapter

prabhu_s2
Active Contributor
0 Kudos

Hi All

I have a sender coomunication channel (file adapter) and the requried folder, files are created in the FTP. but when i execute the interface i get this error:

<i>An error occurred while connecting to the FTP server '10.252.1.28:21'. The FTP server returned the following error message: 'com.sap.aii.adapter.file.ftp.FTPEx: 550 /demo: No such file or directory.'. For details, contact your FTP server vendor.</i>

Kindly let me know on the cause and how to troubleshoot this error.

Regards

Prabhu

Accepted Solutions (0)

Answers (2)

Answers (2)

prabhu_s2
Active Contributor
0 Kudos

any inputs?

former_member187339
Active Contributor
0 Kudos

Hi,

Refer this blog:

/people/shabarish.vijayakumar/blog/2006/08/01/along-came-a-file-adapter-mr-ftp-and-rest-of-the-gang

Regards

Suraj

bhavesh_kantilal
Active Contributor
0 Kudos

Prabhu,

There error clearly states that the file / directory does not exists.

Few checkpoints,

1. Check the access permissions for the folder. Make it 777.

2. Make sure that the virtual path of the directory on the FTP server matches with the path given in the file adapter.

Regards,

Bhavesh

prabhu_s2
Active Contributor
0 Kudos

<b>1. Check the access permissions for the folder. Make it 777.</b>

The access as seen in the ftp is "drwxr-xr-x". If this is not the right one pls let me know how to set it right

<b>2. Make sure that the virtual path of the directory on the FTP server matches with the path given in the file adapter.</b>

The directory name is the same.

FYI: Earlier we were using XI3.0 and able to access the same folder. But nmow when upgraded to PI7 we are facing this issue.

bhavesh_kantilal
Active Contributor
0 Kudos

Prabhu,

Is the file processing mode set as delete? If yes, then just try making the directory setting to

drwxrwxrwx and check if the file is picked and it works as expected?

Regards,

Bhavesh

prabhu_s2
Active Contributor
0 Kudos

Bhavesh

The file proceesing mode is TEST. And kindly let me know on how to changes the setting to drwxrwxrwx.

bhavesh_kantilal
Active Contributor
0 Kudos

Prabhu,

CHMOD 777 <DIRECTORYNAME>

this should do it.

Regards,

Bhavesh

prabhu_s2
Active Contributor
0 Kudos

Thks, changed the access but still the same error.

prabhu_s2
Active Contributor
0 Kudos

The file access parameter in the CC is

Source directory: /demo

File Name: saleorder.txt

Former Member
0 Kudos

Hi Prabhu,

Try refreshing your userid/Passwd for the FTP server access.

prabhu_s2
Active Contributor
0 Kudos

Hi Maha

Can you let me know the steps in refreshing the user id and pwd for FTP server access?