cancel
Showing results for 
Search instead for 
Did you mean: 

SFTP sender adapter Archiving files issue

former_member262051
Participant
0 Kudos


HI Experts,

we have SFTP to idoc case, the problem is that acrhiving files at SFTP server. PI will pick the file from data folder as 123.xml while archiving its will become timestamp_%123.xml.txt but the it should be timestamp_123.xml only.

Can any one help on this?

Regards,

Uday.

Accepted Solutions (1)

Accepted Solutions (1)

former_member184720
Active Contributor
0 Kudos
former_member262051
Participant
0 Kudos

Hi harish,

Thanks for your quick answer.

Uday

former_member262051
Participant
0 Kudos

HI Harish,


As mentioned in sap Note 1815655 i am trying maintain the addDefaultFileExtension for the SFTP adapter but iam unable to find the option in SFTP sendr adapter.


Currently we are in 1.0.4.6 version which is higher than the version which was mentioned in the sap NOTE.

Kindly shar us the screen shot where i have to maintain these parameter.

Thanks in advance.

Regards,

Uday.

former_member184720
Active Contributor
0 Kudos

Go to Advanced mode(under advanced tab) -> Additional properties -> here you should add this property manually.

former_member262051
Participant
0 Kudos


Thanks you so much for quick response.

But iam unable to find the additional parameters in adavanced tab.

Please find the attached screen

former_member184720
Active Contributor
0 Kudos


Refer to my reply in the below thread -

http://scn.sap.com/thread/3489980

former_member262051
Participant
0 Kudos

Hi Harish,

Sorry vfor late reply.

  1. Now we have installed new version of SFTP adapter but still facing the same
    issue after maintaining the perimeter as addDefaultFileExtension àtrue.

I tried with false also.

we need for file server and sftp server as well.

Thanks in advance..

Regards,

  1. Uday.
engswee
Active Contributor
0 Kudos

Uday

You have crossed out the value configured in the Archive name so it's a bit hard to figure out what you did there.

Try using the following value there (replacing archivepath with you actual directory path)

/archivepath/%TIME_%FILENAME

Rgds

Eng Swee

former_member262051
Participant
0 Kudos

Hi Eng Swee,

Thanks for your reply..

I have tried the above option but its not working..

Also.

I have tried with 'True' also but i am getting the .txt extention while archiving the files on SFTP server.

Regards,

Uday.

former_member262051
Participant
0 Kudos

Hi All,

Issue is resolved.

The above option id working

Thanks to all for your support.

Regards,

Uday

engswee
Active Contributor
0 Kudos

Uday,

First you say it's not working, then you said it's working. For the benefit of others who might come across this thread in the future, can you clarify it?

My guess is that it wasn't working when you have the extra " and ' in both the parameter and the value.

Can you please post the screenshot of the final solution that is working?

Thanks

Eng Swee

former_member262051
Participant
0 Kudos

Hi Eng Swee,

Its working as maintained the peramenter in the above screen shot only.

Initially i got wrong update from the third party. So iconveyed the same sorry for that.

Thanks,

Uday.

Answers (0)