×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




So within FTP (or preferably SFTP), this wouldn't work for you?
QUOTE RCMD mycommand>c:\logdir\mylog.txt
GET C:\LOGDIR\MYLOG.TXT mycommand.logtext.txt

??

Dennis Lovelady
http://www.linkedin.com/in/dennislovelady
--
"Behind every successful man stands a surprised mother-in-law."
-- Hubert Humphrey


Source is iSeries - target is UniData running on Windows.
FTP would not work as I need to get to the telnet session and run a
UniData command. I might be able to set a script to run on the server
on a scheduled basis and pipe the output to a file. Then use FTP from
the iSeries to get the file. Would prefer to have the either process
controlled at the iSeries

It will be secure telnet if I get this doing what I want.

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-
bounces@xxxxxxxxxxxx] On Behalf Of Dennis Lovelady
Sent: Thursday, July 08, 2010 12:21 PM
To: 'Midrange Systems Technical Discussion'
Subject: RE: Scripted iSeries TELNET

What type of system is the source system? PC? i? Something else?
Does
"expect" program help?

What type of system is the target system? Does RSH / REXEC help?

Have you tried the FTP QUOTE rcmd command?

In most instances it would be best to use secured solutions such as SSH.

Dennis Lovelady
http://www.linkedin.com/in/dennislovelady
--
Shared pain is lessened; shared joy, increased.
-- Spider Robinson


Is there secret way to send scripted commands to TELNET like I can to
FTP? I want to start a telnet session to a windows server, logon,
run
a command and send the response to a file in QTEMP to be read and
processed

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

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