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.
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.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.