× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



midrange-l-request@xxxxxxxxxxxx wrote:

>iSeries Navigator
>My Connections
>MYiSeries
>Network
>Servers
>TCP/IP
>What is the status of remote command?
>
>-------- Original message 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)'

There should be no relationship between FTP remote commands and the TCP/IP 
Remote Execution (REXEC) server... except, of course, IBM might re-use code 
between them. But they are separately configureable and startable with no 
reason one shouldn't work if the other was stopped.

My guess would be that (first) it isn't a "client FTP system" we're discussing, 
but a remote FTP server; and the RCMD subcommand is a command for the server 
which might not be an iSeries, although the '257 "QGPL" is current library' 
line sure indicates otherwise. If it is an iSeries and an exit program is 
rejecting RCMD, the FTP message should be '550 Request rejected.' rather than 
'500 Syntax error, command unrecognized...'.

It _looks_ as if [rcmd] itself is not recognized. If [SNDMSG] was the 
unrecognized command, perhaps because it was renamed or who knows why, an 
iSeries should send '550' replies relating directly to [SNDMSG].

I'd suggest connecting to the remote server with the iSeries FTP client and 
requesting [HELP SERVER] to see what the remote server expects for [QUOTE] 
subcommands. If RCMD is in the list, then the remote system seems to have a 
problem.

Tom Liotta

-- 
Tom Liotta
The PowerTech Group, Inc.
19426 68th Avenue South
Kent, WA 98032
Phone  253-872-7788 x313
Fax    253-872-7904
http://www.powertech.com


__________________________________________________________________
Introducing the New Netscape Internet Service. 
Only $9.95 a month -- Sign up today at http://isp.netscape.com/register

Netscape. Just the Net You Need. 

New! Netscape Toolbar for Internet Explorer
Search from anywhere on the Web and block those annoying pop-ups.
Download now at http://channels.netscape.com/ns/search/install.jsp

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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

This mailing list archive is Copyright 1997-2024 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.