cancel
Showing results for 
Search instead for 
Did you mean: 

Have XI pick up and forward a File by FTP

0 Kudos

Hello,

we have a Portal Application (WebDynpro) that requires to pick up specific files from an FTP-server through XI (the WD-Application is not allowed to do this directly through the portal framework). The filename is specified at runtime and provided in a parameter. All files are in a directory on the FTP-server, but only the requested one is to be transferred.

We think about sending a request from WD to XI and then have XI pick up the requested file on the remote DTP-server.

a) is this possible with using XI?

b) how can we use/supply a parameter for the filename (value at runtime) in XI (eg. <http://help.sap.com/saphelp_nw04/helpdata/en/0d/00453c91f37151e10000000a11402f/content.htm>)

Best regards,

Manuel

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

I guess your scenario is not feasible

Problem is (as far I know) that you can't give dynamic values to the Sender File Adapter and also you could not trigger this adapter.

Regards

Patrick

Former Member
0 Kudos

The issue i.e triggering a sender file adapter - need to look for an alternative

check this

Answers (1)

Answers (1)

0 Kudos

Hi,

so XI is not a feasible way to provide some kind of service to fetch specific files from an FTP-server on request?

Best regards,

Manuel Schaffner

Former Member
0 Kudos

Hi,

the Sender File Adapter works with a configurable polling interval. You could say that the adapter looks for example every 10 minutes in a specified directory for a file with a special filename (or a group of filenames).

In your scenario you can't trigger the adpater with passing the filename to pick. What you could is moving the file that should get picked in a special directory that is configured in the adapter and the file will get picked in the polling interval or you specify a special filename in the adapter and if one of your files should get picked you rename this file to the filename specified in the adapter.

http://help.sap.com/saphelp_nw04s/helpdata/en/e3/94007075cae04f930cc4c034e411e1/frameset.htm

Regards

Patrick

Former Member
0 Kudos

>>so XI is not a feasible way to provide some kind of service to fetch specific files from an FTP-server on request?

There are always work arounds when there is no direct ways. For example you could consider the option of Java proxy here.

Regards,

Jaishankar