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
_______________________________________________ This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/midrange-l or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.