Skip to Content

FTP command on server side

Hi,

Is it possible to send a "server side" command using the File adapter? I need to send a command like <b>quote site lrecl=80 recfm=fb</b>

/Jakob

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Jun 12, 2007 at 09:17 PM

    Jakob,

    Did you find a way to execute server side FTP command or sub command using file adapter?

    I need to run the command 'quote site na 1' tos end the name format on AS/400 system to 1. How do I do that using receiver file adapter?

    I appreciate your help.

    thx

    praveen

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      Yes i found a solution, but it was not a nice one! My solution was to create an ABAP mapping. When the files comes to the XI i use this mapping and inside i have coded the FTP send procedure. For that i use the FTP_CONNECT and FTP_COMMAND function modules.

      After the file has passed the mapping i just use af dummy Communication Channel to place the file on af arcive space.

      /Jakob

  • avatar image
    Former Member
    May 16, 2007 at 03:04 PM

    Could u please be more specific.

    reg

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 16, 2007 at 03:33 PM

    Jakob,

    We cannot execute the Run OS commands on the FTP location. We can only execute them on the XI box where it is installaed.

    If you want to execute just create a script in the XI box and run the FTP command in the script. Then execute this script from the communicaiton channel.

    ---Satish

    Add comment
    10|10000 characters needed characters exceeded