iSeries Navigator
My Connections
MYiSeries
Network
Servers
TCP/IP
What is the status of remote command?

Rob Berendt
-- 
Group Dekko Services, LLC
Dept 01.073
PO Box 2000
Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com





"Bruce Jones" <bruce@xxxxxxxxxxx> 
Sent by: midrange-l-bounces@xxxxxxxxxxxx
03/04/2004 12:56 PM
Please respond to
Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>


To
midrange-l@xxxxxxxxxxxx
cc

Subject
ftp quote command not working






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.

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.