× 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: Internet EDI with the AS/400
  • From: Neil Palmer <NPalmer@xxxxxxxxxxx>
  • Date: Mon, 28 Jul 1997 17:04:21 -0400
  • Organization: NxTrend Technology - Canada

Rob Berendt wrote:
> 
   <snip>

> the DOS is teaching me is that piping the password is a trick.
> Does anyone have some clues as to how to do FTP with the AS/400 in batch?

>From a reply I sent to another message a few weeks ago:

Subject: 
            Re: Batch FTP advice
Date: 
            Fri, 18 Jul 1997 15:46:05 -0400

Well, you could use the SNDTCPF/RCVTCPF commands from News/400, August
1995, code available on their website to download at
http://www.news400.com/code/
that handles batch FTP.  You need to specify a password on the command,
but at least you could compile that into a CL program and then the only
file with the password would be the CL source file that could be
secured.  (The SNDTCPF/RCVTCPF commands don't log the password to the
joblog).

PS - In the SNDTCPFC CL program there's a bug at line 200.  Should be:
   IF  ( &maptbl *EQ '*NONE'  *OR  &maptbl *EQ '*DFT' )  DO  
Likewise, line 231 in RCVTCPFC should be:
    IF  ( &maptbl *EQ '*NONE'  *OR  &maptbl *EQ '*DFT' )  DO 




-- 
... Neil Palmer                                      AS/400~~~~~      
... NxTrend Technology -Canada       ____________          ___  ~     
... Markham,  Ontario,  Canada       |OOOOOOOOOO| ________  o|__||=   
... Phone: (905) 731-9000 x238       |__________|_|______|_|______)   
... url:http://www.NxTrend.com        oo      oo   oo  oo   OOOo=o\   
... mailto:NPalmer@NxTrend.com     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* This is the Midrange System Mailing List!  To submit a new message,   *
* send your mail to "MIDRANGE-L@midrange.com".  To unsubscribe from     *
* this list send email to MAJORDOMO@midrange.com and specify            *
* 'unsubscribe MIDRANGE-L' in the body of your message.  Questions      *
* should be directed to the list owner / operator: david@midrange.com   *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *


As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.