× 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 scripting
  • From: Patrick Townsend <townsend@xxxxxxxxxxxxxx>
  • Date: Mon, 14 Dec 1998 14:03:14 -0800
  • Organization: Patrick Townsend & Associates, Inc.

Bob,

Try just using the user ID and password on separate lines, like this:

  open 254.254.254.254
  user
  password


Patrick
-- 
IBM AS/400 communications, FTP automation, and network security
software and consulting services.

http://www.patownsend.com
Bob Clark wrote:
> 
> This might be a little off topic but here goes.  I am trying to automate
> the download of some files from the AS/400 using FTP.  I chose FTP
> because I don't see the need to chew up a Client Access license for this
> application.  I am having problems logging on to the AS/400 FTP server
> using a text file as a script.  I keep getting invalid command messages
> when I attempt to use the USER and PASS subcommands.  I have tried this
> using the Windows NT 4.0 FTP client as well the Windows '95 client.
> 
> the script looks something like this:
> open 254.254.254.254
> USER user
> PASS password
> cd/qdls/folder
> lcd f:\directory
> get test.txt
> quit
> 
> Can anybody tell me where I am going wrong?
begin:vcard 
n:Townsend;Patrick
x-mozilla-html:FALSE
org:Patrick Townsend & Associates, Inc.
adr:;;7700 Earling Street NE;Olympia;WA;98506;US
version:2.1
email;internet:townsend@patownsend.com
title:President
tel;fax:(360) 357-9047
tel;work:(360) 357-8971
note;quoted-printable:Software and consulting services for the IBM AS/400. =0D=0ASpecializing in AS/400 communications, FTP automation =0D=0Aand network security. 
x-mozilla-cpt:;0
fn:Patrick Townsend
end:vcard

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.