Skip to Content
avatar image
Former Member

Unix command in FTP connection through File Adapter

Hi All,

I have a scenario IDOC to file in which the user requested for pushing file to FTP server as below

put localfilename %localfilename%CITISECUFLATNA%CITIGPASSIN%%B

Here my file name is test.txt.

so I tried giving in communial channel as

File Access Parameters

Target Directoy : put test.txt %test.txt%CITISECUFLATNA%CITIGPASSIN%%B

File Name Scheme: text.txt

But I go the error in Communication channel as

An error occurred while connecting to the FTP server 'ftp-gw.dx.deere.com:21'. The FTP server returned the following error message: 'com.sap.aii.adapter.file.ftp.FTPEx: 501 Syntax errors in parameter. usage: %[recipient id]%[APRF] where either [recipient] or [APRF] can be omitted. (to change your current default SEND relationship). %% (places you in your 'HOME' TR). &['s'|'single'] ('get' command gets single file). &['m'|'multiple'] ('get' command gets multiple files). '. For details, contact your FTP server vendor

Please let me know how we can specify in our FTP parameter in Communication chanel.

Regards,

Dhill.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Jun 22, 2007 at 04:22 PM

    Dhil,

    Check my reply in this thread. I think you are having the same issue:

    ftpex-501-syntax-errors-in-parameter-any-ideas

    ---Satish

    Add comment
    10|10000 characters needed characters exceeded