cancel
Showing results for 
Search instead for 
Did you mean: 

FTP receiver adapter does not transfer (STORE) file

Former Member
0 Kudos

Hello gurus,

In my scenario I want to transfer files from server X to server Y using FTP.

To get the files from server-X I use the FTP sender adapter, to put the files on server-Y I user the FTP receiver adapter.

Getting the file (QoS = EOIO) is not a problem; I see the result is SXM_MONI.

Putting the file doesn't seem to work; I don't have an error message in SXMB_MONI but the file is not physical stored on server-Y.

When I monitor server-Y I see that XI connects with the configured user/pwd and even creates the directory when it doesn't exist but the file is not STORED.

I'm not using the BPE, this is a very simple and basic scenario: what comes in, goes out.

Can you please advice what might be the cause of the strange behavior?

Many thanks - Danny

Accepted Solutions (1)

Accepted Solutions (1)

MichalKrawczyk
Active Contributor
0 Kudos

hi Danny,

check adapter monitor:

http://xiserver:port/MessagingSystem/monitor/monitor.jsp

to see what happens with your message after it leaves the intergration engine

(sxmb_moni)

also check communication channel monitor

Regards,

michal

-


<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

danny_deroovere
Participant
0 Kudos

Hello Michal, thanks for your (very) quick reply.

this is the result:

1) adapter monitoring

<b>Status to be delivered:</b>

- Message successfully received by messaging system. Profile: XI URL: http://xdsci.cie.etat.lu:53100/MessagingSystem/receive/AFW/XI Credential (User): XIISUSER

- Using connection File_http://sap.com/xi/XI/System. Trying to put the message into the receive queue.

- Message successfully put into the queue.

2) sxmb_moni

- no error

3) communication channel monitor

- Message successfully received by messaging system. Profile: XI URL: http://xdsci.cie.etat.lu:53100/MessagingSystem/receive/AFW/XI Credential (User): XIISUSER

- Using connection File_http://sap.com/xi/XI/System. Trying to put the message into the receive queue.

- Message successfully put into the queue.

- The message was successfully retrieved from the receive queue.

- The message status set to DLNG.

- Delivering to channel: FTP_receiver

- MP: entering

- MP: processing local module localejbs/CallSapAdapter

- File adapter receiver: processing started; QoS required: ExactlyOnce

- File adapter receiver channel FTP_receiver: start processing: party " ", service "xyz"

Any idea?

Former Member
0 Kudos

Hi Danny,

just see the user by whicgh you are accessing target system, is having the req file creation permissions on your target system.

Thanks,

Rajeev Gupta

danny_deroovere
Participant
0 Kudos

Hello,

I have the necessary permissions.

I tried to execute a manual FTP put with the same uid/pwd and ithis worked.

KR - Danny

MichalKrawczyk
Active Contributor
0 Kudos

Hi Danny,

please check XI business system in SLD

inside you will find - <b>pipeline ULR</b>

check the port - if it's j2ee 5XX00 then it's wrong

- change it to http port - 8XXX

(you can find it in TCODE SMICM)

then also check in SXMB_ADM - engine configuration and see if it's ok

there (the same)

retest your scenario and it will work,

Regards,

michal

Former Member
0 Kudos

Danny, check ur Reciver business system in SLD so that it points correct Ingteration server.

Former Member
0 Kudos

Hi Danny,

just for check......please delete target folder in server Y and again execute your scenario.....again see in adpter monitoring, if there is any error in reciver file adapter.......see the file should be created in server Y if there is no error in recever file adapter....

Thanks,

Rajeev Gupta

danny_deroovere
Participant
0 Kudos

Hi,

I checked the SLD as suggested and I confirm that everything is (was already) configured as suggested.

danny_deroovere
Participant
0 Kudos

Hi,

I've deleted the target folder and executed again the scenario.

The result is that the folder is automatically created (I flagged this option in the receiver communication channel), but still the file is not present.

KR - Danny

Former Member
0 Kudos

can you try resend option in RWB

danny_deroovere
Participant
0 Kudos

Still the same result after resend: to be delivered.

Former Member
0 Kudos

Hi Danny,

increase the timeout in recever file adapter comm channel.....save it and activate it... may be your file is large so it is getting timed out before it is saved in your target directroy so your target file is not getting created in your target directory......

Thanks,

Rajeev Gupta

danny_deroovere
Participant
0 Kudos

Hi,

I increased the timeout (180 seconds), still the file is not created (status = to be delivered)

Danny.

Former Member
0 Kudos

in reciver adapter is their any error .

what is the file type : is it BIN or Text. can paste ur reciver adapter parameters here

danny_deroovere
Participant
0 Kudos

Transport protocol: FTP

Message protocol: File

Adapter Engine: Integration Server

Target Directory: /

Create target Directory: true

File Name Scheme: %message:FileName%

Server: cddci

Port: 21

Data connection: passive

Timeout: 180

Connection Security: none

User name: test_ftp

Password: ...

Connection Mode: Per File Transfer

Tranfer Mode: binary

File Construction Mode: Add Time Stamp

Put File: Directly

File Type: Text

File Encoding: ISO-8859-1

Adapter-Specific Message attributes: true

File Name: true

Former Member
0 Kudos

Danny,

are use dynamic name for file based on incoming data?

in Tranfer Mode: binary >>it is binary . so change it text.

because here it is Text

File Type: Text

File Encoding: ISO-8859-1

danny_deroovere
Participant
0 Kudos

Hi,

No dynamic name is used.

I changed the transfer mode, but the result is still the same.

Rgrds - Danny

Former Member
0 Kudos

then

File Name Scheme: %message:FileName% --->then enter some name say "test.txt" and remove this "%message:FileName%".

also in adapter sepcify adapter uncheck it.

danny_deroovere
Participant
0 Kudos

I followed your suggestions, but the result is still the same

Former Member
0 Kudos

<b> i hope their no content conversion for this</b>.

Now ur Adapter enteris should like below.

Transport protocol: FTP

Message protocol: File

Adapter Engine: Integration Server

Target Directory: /

Create target Directory: true

File Name Scheme: Test.txt

Server: cddci

Port: 21

Data connection: passive

Timeout: <b>leave it blank</b>

Connection Security: none

User name: test_ftp

Password: ...

Connection Mode: Per File Transfer

Tranfer Mode: <b>Text</b>

File Construction Mode: Add Time Stamp

Put File: Directly

File Type: Text

File Encoding: <b>leave it blank.</b>

Adapter-Specific Message attributes: true >> uncheck this.

File Name: true >> uncheck this

former_member189558
Contributor
0 Kudos

Hi danny,

Can you keep a file inside the folder befor executing the scenario and test if this file gets overwritten /appended or not....

Cheers,

Himadri

danny_deroovere
Participant
0 Kudos

I already tried this. Nothing happens with the existing file.

Former Member
0 Kudos

Danny did u corss checked with my entries with our file adapter

danny_deroovere
Participant
0 Kudos

Hello Sreeram,

yes I did, but still the file does not appear

Cheers - Danny

Former Member
0 Kudos

Danny,

Target Directory: / -->change it to

Target Directory: ./DannyDirecotry ->please see their . / and check for this Dannydirectory in ur FTP server.

danny_deroovere
Participant
0 Kudos

Hi,

I've changed the target directory; still the result is the same

Former Member
0 Kudos

did you find the direcotry created by our name.

danny_deroovere
Participant
0 Kudos

yes, the directory is created but the file is not present.

Former Member
0 Kudos

hmm.

can try with this

File Construction Mode: Add Time Stamp --> change it to create mode.

and delete our directory before exceuting it. it should again create a new direcrotry .

danny_deroovere
Participant
0 Kudos

Hi,

Tried that also ... same result

Former Member
0 Kudos

strange.

what is message you see in ur receiver file adapter.

Former Member
0 Kudos

any updates?

danny_deroovere
Participant
0 Kudos

Last update:

I retyped the password of XIAPPLUSER and XIAFUSER in the exchange profile;

restarted the server and all of the messages are now in status DELIVERED.

Former Member
0 Kudos

ok cool it works.

Answers (0)