× 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.



Take a look at this: 

Get Rid of the SNADS Headache with Auto-FTP

http://www.midrangeserver.com/fhg/fhg022504-story02.html

It might help you understand what to do, and in any event, if you don't
want to reinvent the wheel, you can just use this utility as is.

Shannon O'Donnell





-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Bruce Jones
Sent: Thursday, March 04, 2004 11:57 AM
To: midrange-l@xxxxxxxxxxxx
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 ...

Follow-Ups:
Replies:

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.