When using the SSH FTP transport in BusinessConnect (BC), I am not able to access the directory on the target system

When using the SSH FTP transport in BusinessConnect (BC), I am not able to access the directory on the target system

book

Article ID: KB0094762

calendar_today

Updated On:

Products Versions
TIBCO BusinessConnect 6.X.X

Description

When using the SSH FTP transport in BusinessConnect (BC), I am not able to access the directory on the target system, whereas I can see the directory when using another SSH FTP tool like FileZilla or WinSCP. How do I get BC to access it?  The error I get is "Directory not found".

Issue/Introduction

When using the SSH FTP transport in BusinessConnect (BC), I am not able to access the directory on the target system, whereas I can see the directory when using another SSH FTP tool like FileZilla or WinSCP. How do I get BC to access it?

Environment

all platforms

Resolution

When accessing an external SSH FTP server, BC access the files relative to the home directory of the account used. If the file is located in another directory structure, such as "/tmp", you will need to add an extra slash to the URL when connecting a to the server.For example, when placing a file in $HOME_DIR/a/b, the URL should look like the following:


sshftp://example.com/a/b

If the directory is in /tmp/a/b, the URL should be:

sshftp://example.com//tmp/a/b

Additional Information

BusinessConnect Trading Partner Administration Guide