OK, I answered my own suggestion. Deselecting CL Commands under the FTP Server part of Application Admin is honored by the 400, it does not matter whether your FTP client is on a PC, another 400, or even the same one (ftp loopback). The message is "500 Request rejected" (forget the exact number, but greater than or equal to 500).

The fact that the original poster's return message was "500 Syntax error, command unrecognized: 'rcmd" suggests that the 400 is not returning this message, since it will recognize the command but reject it in the scenario given above. Scott K.'s post is pertinent here, I think.

Hmm!
Vern

At 04:37 PM 3/4/2004 -0600, you wrote:
It is possible to suppress individual FTP functions in Application Administration of iSeries Navigator. I saw one for CL commands under FTP server. I don't know whether this affects you when you are on the 400 itself, however.

HTH
Vern

At 11:56 AM 3/4/2004 -0600, you wrote:
I'm trying to automate transmitting a save file to a client machine.  I've
written an ftp script that works with most clients, but one client doesn't
like the quote command.  I cannot get any quote command to execute
successfully.

Sample ftp script:
quote rcmd SNDMSG TOUSR(QPGMR) MSG(Hello)
quote time 500

ftp log from sample script:
257 "QGPL" is current library.
Enter an FTP subcommand.
> quote rcmd SNDMSG TOUSR(QPGMR) MSG(Hello)
500 Syntax error, command unrecognized: 'rcmd SNDMSG TOUSR(QPGMR)
 MSG(Hello)'
Enter an FTP subcommand.
> quote time 500
500 Syntax error, command unrecognized: 'time 500'
Enter an FTP subcommand.

Local and remote machines at v5r2.  I can initiate the ftp communication
successfully. The binary/put command works successfully.  I cannot find if
the quote command can be restricted anywhere on the iSeries.  Doesn't seem
to have an ftp exit point configured.  Same results when I manually type in
the ftp commands as in sample script.

If I telnet to client machine and perform ftp '127.0.0.1' then the quote
commands execute successfully.
  257 "QGPL" is current library.
> quote time 500
  250 Inactivity time-out set to 500 seconds.

Any help is appreciated,
Thanks,
Bruce in AR



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.