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
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
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
Hi Mahaboob,
can you help? I'm with same problem...
Add a comment