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


  • Subject: Re: ftp in cl
  • From: "Ashok Dave" <ashdave@xxxxxxxxxxx>
  • Date: Fri, 04 Sep 1998 06:09:37 PDT

=======================================
Wayne, yep, having the ftp commands in a separate file works great. We 
do a lot of ftps from CL pgms to other systems - all done this way and 
they work great.
===========================================

>From uucp@uucp1.mcs.net Thu Sep  3 16:35:58 1998
>Received: from uucphost.mcs.net (Uucp1.mcs.net [192.160.127.93]) by 
Kitten.mcs.com (8.8.7/8.8.2) with ESMTP id SAA26464; Thu, 3 Sep 1998 
18:35:44 -0500 (CDT)
>Received: (from uucp@localhost)
>       by uucphost.mcs.net (8.8.8/8.8.8) id SAA23591;
>       Thu, 3 Sep 1998 18:35:43 -0500 (CDT)
>Received: (from majordom@localhost)
>       by midrange.com (8.9.1/8.8.8) id SAA10308
>       for midrange-l-outgoing; Thu, 3 Sep 1998 18:17:14 -0500
>Received: (from uucp@localhost)
>       by midrange.com (8.9.1/8.8.8) with UUCP id SAA10209
>       for MIDRANGE-L@midrange.com; Thu, 3 Sep 1998 18:01:06 -0500
>Received: from kahuna.premsys.com (premsys6.premsys.com [206.246.151.6] 
(may be forged))
>       by uucphost.mcs.net (8.8.8/8.8.8) with ESMTP id RAA21035
>       for <MIDRANGE-L@midrange.com>; Thu, 3 Sep 1998 17:48:31 -0500 (CDT)
>Received: from premsys.com ([206.246.151.160]) by kahuna.premsys.com
>          (Netscape Messaging Server 3.52)  with ESMTP id 352;
>          Thu, 3 Sep 1998 17:48:36 -0500
>Message-ID: <35EF1C5C.B4A09AFC@premsys.com>
>Date: Thu, 03 Sep 1998 17:46:52 -0500
>From: Richard Baird <rbbaird@premsys.com>
>Organization: Premium Systems, Inc.
>X-Mailer: Mozilla 4.04 [en] (WinNT; I)
>MIME-Version: 1.0
>To: MIDRANGE-L@midrange.com
>Subject: Re: ftp in cl
>References: <35EF0D94.58D196F6@redoaktech.com>
>Content-Type: text/plain; charset=us-ascii
>Content-Transfer-Encoding: 7bit
>Sender: owner-midrange-l@midrange.com
>Precedence: bulk
>Reply-To: MIDRANGE-L@midrange.com
>X-List-Name: Midrange Systems Mailing List (MIDRANGE-L@midrange.com)
>
>Wayne,
>
>The way to do this is to put the ftp commands (including logon,
>password and quit) in a separate source file, and just before you run
>ftp, do a OVRDBF INPUT tofile(library/sourcefile) member(membername)
>
>This causes the ftp to read it's commands from the file instead of
>opening an interactive session.
>
>You can also do an OVRDBF OUTPUT to another file, and all status and
>error messages will be put in that file for error/completion checking.
>
>hth,
>
>Rick
>
>Wayne Capwell wrote:
>> 
>> I'm trying to create a CL program that will perform an automatic FTP
>> connection and file transfer between two AS/400's.  Does anyone know 
if
>> there is a way to imbed the ftp subcommands in the CL.  The user and
>> password, and file andm member names, will all be static.  The job 
will
>> run once a day and overlay any previous data.  Any help is 
appreciated.
>> Thanks.
>> Wayne
>+---
>| This is the Midrange System Mailing List!
>| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
>| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
>| To unsubscribe from this list send email to 
MIDRANGE-L-UNSUB@midrange.com.
>| Questions should be directed to the list owner/operator: 
david@midrange.com
>+---
>


______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.