cancel
Showing results for 
Search instead for 
Did you mean: 

file adapter issue

Former Member
0 Kudos

Dear All,

I am working with file to file scenario.I selected file processing mode as Delete at sender side adapter.Everything is working fine.But after file picked up by server file has not been deleted.how to resolve this?any help would be appreciated.thanks in advance.

Regards

vinay

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Vinay,

Firstly, Since the scenario works perfectly, so all your design & configuration are OK.

Now, there can be Two reasons why PI is not able to delete the file and process it (during Delete Mode):

(The Problem will persists if you use Archive Mode also)

Prob 1. The directory is write protected or read only

Prob 2. The file is write protected or read only

Solution:

If Unix System

Soln for Prob 1. - go to the directory structure

for ex: if directory where file is kept is /staging/Interface/PI/Test/inbox/

then go to /staging/Interface/PI/Test/ and give command ls -lrt

It will show the directory names with permisions.

use chmod 777 inbox and the permissions willl be changed ( drwxrwxrwx )

Soln for Prob 2. - Get inside /staging/Interface/PI/Test/inbox/ and give command ls -lrt

if the file does not have authorizations as (-rwxrwxrwx) give chmod 777 <filename> and then give command touch <filename>

If Windows System

Soln for Prob 1. - Goto the directoty and right click on the folder and deselect the Read Only Checkbox.

Soln for Prob 2. - Right Click on the file and deselect the Read Only Checkbox

Try again and the scenario will work surely. Let me know if any issues.

Regards,

Souvik

naveen_chichili
Active Contributor
0 Kudos

Hi Vinay,

Contact your FTP administrator and ask him to provide the file access permissions to Delete the file with your userid.

Thanks and Regards,

Naveen

Former Member
0 Kudos

hai all,

thanks for the quick reply...am not using ftp....am using NFS.in this case also need to contact ftp administrator?

Regards

vinay

former_member208856
Active Contributor
0 Kudos

In that case contact to your BASIS Team.

Former Member
0 Kudos

hai sandeep,

i am learning my self by practicing individually.

Regards

Vinay

naveen_chichili
Active Contributor
0 Kudos

Hi Vinay,

In this case you can give full permissions for the folder whichi you are trying to access and then try to delete the file.

Cheers!!!

Naveen.

Former Member
0 Kudos

Hi

Try giving full permission to the file which is placed on the server

If you have unix access

Try doing chmod <filename> 777 . After this File will have full permissions

Regards

Sandeep

Former Member
0 Kudos

Hi Vinay,

This clearly shows that you do not have permissions/authorizations with the username used in the file adapter to delete the file. Contact your FTP team regarding the same.

Thanks,

former_member208856
Active Contributor
0 Kudos

Ask to FTP Administrator, your User ID has deletion authorization ?

The problem is only for authorization.