cancel
Showing results for 
Search instead for 
Did you mean: 

SFTP receiver File channel

Former Member
0 Kudos

Hi,

I am doing a simple file pass through using PI (File-PI-SFTP) and not using ESR.

I have two requirements -

1. The target file name should be in the format xyz_yyyymmdd.dat

The standard function with the receiver SFTP channel is to get the timestamp but I don't require timestamp.

Could anyone please let me know if I can get the file name format (xyz_yyyymmdd.dat) without using any mapping?

2. I am using certificates, but still the channel requires a User Name (it is a mandatory field). I am unable to understand why I need User Name even if I am using certificates? Is there a way of avoiding that?

Any help will be highly appreciated.

Thanks,

Abhi

Accepted Solutions (1)

Accepted Solutions (1)

baskar_gopalakrishnan2
Active Contributor
0 Kudos

Question 1

Have you seen this wiki page?

http://wiki.sdn.sap.com/wiki/display/Snippets/DynamicfilenameinaFiletoFilepassthroughscenario

2. I am using certificates, but still the channel requires a User Name (it is a mandatory field). I am unable to understand why I need User Name even if I am using certificates? Is there a way of avoiding that?

You might want to try anonymous ssl mode. This might not require credentials. But certificate authentication looks for the user credentials. Take help from BASIS.

Edited by: Baskar Gopal on Mar 6, 2012 4:53 PM

Former Member
0 Kudos

Thanks for your response.

Have you seen this wiki page?

No, but this looks helpful.

You might want to try anonymous ssl mode. This might not require credentials. But certificate authentication looks for the user credentials. Take help from BASIS.

I am using Advantco SFTP adapter and it follows SSH protocol. There is no option for anonymous log-in.

baskar_gopalakrishnan2
Active Contributor
0 Kudos

I think you might have to give user credentials.

Former Member
0 Kudos

Yes, i need to at least provide the user name. Password is not necessary. Thanks for your response.

Answers (0)