Skip to Content
author's profile photo Former Member
Former Member

Issue with SFTP Connectivity on PI 7.3

I am working on communication setup with on of the bank's SFTP server using GXS.

I am able to successfully make a connection using WinSCP. The process that was followed was to login to the sftp server using the key on WinSCP, provide the Remote Directory as /DEFT-DEFT-A:/*BIN/ and log in ( which translates to CD DEFT-DEFT-A:/*BIN/ in Putty )

it takes me to a folder structure as

/<root>

USERID

DEFT-DEFT-A:

*BIN

It seems *BIN is letting the server know that we are sending the file in binary format. I could not find an option for file format on SFTP Adapter.

Using WinSCP I am able to drop a file as well. But the problem is when I try using PI to drop to connect to the same server, the log on the communication channel is

27.09.2012 20:56:13.600 Information Server is <SFTP Server> 27.09.2012 20:56:13.620 Information Home directory is /<USERID> 27.09.2012 20:56:13.620 Information Path is /<USERID>/DEFT-DEFT-A:/ 27.09.2012 20:56:13.676 Error Message could not be forwarded to the JCA adapter. Reason: 4: Putting /<USERID>/DEFT-DEFT-A:/TestACHFile.txt failed. 27.09.2012 20:56:13.677 Error MP: exception caught with cause javax.resource.ResourceException: 4: Putting /<USERID>/DEFT-DEFT-A:/TestACHFile.txt failed. 27.09.2012 20:56:13.679 Error Exception caught by adapter framework: 4: Putting /<USERID>/DEFT-DEFT-A:/TestACHFile.txt failed.

27.09.201220:56:13.679
Error
Transmitting the message to endpoint <local> using connection File_http://sap.com/xi/XI/System failed, due to:
com.sap.engine.interfaces.messaging.api.exception.MessagingException: javax.resource.ResourceException: 4: Putting /<USERID>/DEFT-
DEFT-A:/TestACHFile.txt failed.

I do not understand if the file transfer is failing or the login it self was unsuccessful. Can someone help me in understanding the issue or what am I doing wrong here.

Thanks & Best Regards,

Basha

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Nov 15, 2012 at 10:26 AM

    Hi

    I have also experienced this issue with the exactly same error message. In our case, the length of the filename was the problem. It was too long.

    Regards;

    Wilbert Karremans

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 28, 2012 at 04:29 AM

    Hi,

    Are you using the same user/key on PI as it was on the WinSCP server? It seems that the login was successful and therefore you received the message "Home directory is /<USERID>". Hence, it appears to be more of an authorization issue.

    Regards,

    Prateek Raj Srivastava

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 20, 2012 at 07:15 AM

    Hello Basha,

    Have you checked this note http://search.sap.com/notes?id=0001737547

    Regards,

    Bhagyesh

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 15, 2013 at 04:24 PM

    Hi Mahaboob,

    can you help? I'm with same problem...

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.