Thanks Tom.

This is an iSeries for both sides.  I've checked the exit points and it
appears that there is no exit program defined for either system.

wrkobj *all/sndmsg turns up two, one in qsys and the other in qsys38 with
both calling the program QMHSNMSG.

Here is the help server output:
> help server
 214-Server-FTP commands follow:
 214-Unsupported commands marked with an *.
 214-ABOR, ACCT*, ADDM, ADDV, ALLO*, APPE, AUTH, CDUP, CRTL, CRTP, CRTS,
 214-CWD, DELE, DLTF, DLTL, FEAT, HELP, LIST, MKD, MODE, NLST, NOOP,
 214-OPTS, PASS, PASV, PBSZ, PORT, PROT, PWD, QUIT, RCMD, REIN, REST*,
 214-RETR, RMD, RNFR, RNTO, SITE, STAT, STOR, STOU, STRU, SYST, TIME,
 214-TYPE,  USER,  XCUP,  XCWD,  XMKD,  XPWD,  XRMD.
214-The data representation type may be ASCII(A), EBCDIC(E), binary
IMAGE(I),
214-DBCS_ASCII(B), DBCS_EBCDIC(F) or CCSID(C).
214-Data structure must be file(F) or record(R).  Mode can be stream (S) or
block (B).
214-If this connection is not used more than 300 seconds, the session will
end.
214-Name Format 0 :
214-File identifiers have three components: File, library, and member.
214-Library and file components are separated by the / delimiter.
214-File and member components are separated by the . delimiter.
214-Example:  Library/file.member.
214-Name Format 1 :
214-Directory levels separated by the / delimiter.
214-Database files use format: /QSYS.lib/Libname.lib/Fname.file/Mname.mbr
214-Documents (files) stored in folders use format:
/QDLS/folder/document.ext
214-Integrated File Systems include: "root" (/), QOpenSys, QLANSrv.
214-Integrated File System files use format: /fsname/fsdependentnamingformat
214 For information about a specific command, enter HELP <command>.

Thanks,
Bruce


"Tom Liotta" <qsrvbas@xxxxxxxxxxxx> wrote in
message news:0E53C721.7CC6D8F7.0021C8A2@xxxxxxxxxxxxxxx
> 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
> _______________________________________________
> 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 ...

Follow-Ups:
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.