Skip to Content
avatar image
Former Member

SFTP - OS Commands after processing

Hi!

Can someone help me with os commands after processing? It's not working...Is there something wrong with my command?

Command: mv "test.csv" "/xfer/chroot/transfer/xxisftp/test/SOI020/Receiver/Test/test.csv"

This is from workbench log:

12/30/2014 4:25:17.251 PM Information send test.csv to /xfer/chroot/transfer/xxisftp/test/SOI020/Receiver/ 12/30/2014 4:25:17.252 PM Information Executing OS command: mv "test.csv" "/xfer/chroot/transfer/xxisftp/test/SOI020/Receiver/Test/test.csv"

So it seems that it's executing my command but the file is not moved to the Test directory. What can be wrong?!

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Dec 30, 2014 at 06:00 PM

    Hi Stefan,

    Hace you tried to use absolute paths?

    Have you tried to do a shell script and to call it?.

    Regards.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 30, 2014 at 03:54 PM

    Hi,

    Please check if you have the assigned role: SAP_XI_CONFIG_FILE_OS_CMD_J2EE as per sap help.

    Defining OS Commands for Message Processing by SFTP Adapter - SAP NetWeaver Process Integration, secure connectivity add…

    Thanks,

    Sudhansu

    Add comment
    10|10000 characters needed characters exceeded