cancel
Showing results for 
Search instead for 
Did you mean: 

command line wasn't executed in ftp adapter

xinjiang_li
Active Participant
0 Kudos

Hi,gurus:

I met a problem when I used "Run operating system command before message processing" in a file to file scenario.After the message was processed successfully I found the command wasn't executed.However,the command(bat file) could be executed in XI server.

The value of the parameter "command line" is "c:\data\copyResult.bat %F %f".I want to use the bat file to delete the archived file after the message is processed successfully.But now it was not executed.The content of relavant file is below.Any ideas?Any help will be appreciated.

( Also I have referred to michal's blog about error catching,but it didn't work.)

copyResult.bat

-


ftp -s:copyResult.txt

-


copyResult.txt

-


open <ftp_host>

<username>

<password>

cd /archive

delete send.txt

quit

-


Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Have you tried to check the execution of BAT file directly on FTP server or may be you are trying with XI server. What are the results for it.

Plesae check the log of each and every step ...in Runtime Worbench in Communication Channel on sender or receiver side.

Thanks

Swarup

Answers (0)