cancel
Showing results for 
Search instead for 
Did you mean: 

FTPEx: 550 : Cannot create a file when that file already exists.

Former Member
0 Kudos

Hi experts,

I am working on idoc to file scenario and PI 7.1. The idoc is split into 3 files.

In sxmb_moni , the message is successful , but in rwb( Message montoring) i am geeting the fllowing Error message.

' Delivering the message to the application using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: An error occurred while connecting to the FTP server '172.19.125.190:21'. The FTP server returned the following error message: 'com.sap.aii.adapter.file.ftp.FTPEx: 550 /Storedata/Outbound/0000001802: Cannot create a file when that file already exists. '. For details, contact your FTP server vendor..'

and this error message is not displayed for all the target files , some files are getting created succesfully.

After some times , the file in error status , gets created automatically.

What may be the reason.?

Thanks in advance .

Best Regards,

Anil

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Naidu,

Its clearly indicating that the file name is already exists in the target folder.

Mention the file construction mode is create and select overwrite the existing file.

You may not select the overwrite existing file check box thats why the error coming.

Regards

Ramesh.

Former Member
0 Kudos

You are trying to write the files too fast. Set the Maximum Concurrency of the File adapter to 1.

former_member200962
Active Contributor
0 Kudos

There seem to be already some files in your Target Directory with the same name as your new files (which the CC is trying to place) and the CC is not able to overwrite the existing files and hence the error...check this.

Check: http://help.sap.com/saphelp_nwpi71/helpdata/EN/44/69d7cfa4b633eae10000000a1553f6/content.htm

14.      Select the File Construction Mode.
u25CB       Create
The file is created. The document received last is saved in each case.
If you want the created file to be overwritten, select Overwrite Existing File. If you do not set the indicator, processing is stopped until the created file is processed.
You can only set the indicator if you select Use Temporary File under Put File below.

Regards,

Abhishek.

Edited by: abhishek salvi on Jul 28, 2009 6:59 PM