You can put both on the same line with a space between them for some FTP
server, not all.  All will accept the user (CR/LF) password (CR/LF) on
separate lines.  I use to put it all on one line until I came across a site
that it did not work.  Never did find out what type of server it was.  Our
AS400 at 4.4 will not allow the user and password on the same line.

Christopher K. Bipes
Operations & Network Mgr
CrossCheck, Inc.        
6119 State Farm Drive     Phone: 707 586-0551 x 1102
Rohnert Park CA  94928    Fax: 707 586-1884

-----Original Message-----
From: []
Sent: Friday, January 11, 2002 1:07 PM
Subject: RE: FTP to a port number on a computer

On Fri, 11 January 2002, Chris Bipes wrote:

> Do not put in the USER or PASSWORD key words.  Just put in the valid user
> on a line by itself.  Same with password.  As in your example, you only
> typed in what was after the prompt, not the prompt.

This might need to be slightly changed under some circumstances although I
have no clue what the circumstances are. On a V4R4 box I use, I've needed to
place both user and password on _the same_ line space separated, not on
separate lines. I don't do enough FTP scripting to get a feel for the
significance. All I know is that this change was the last change I made
before the script worked on that box.

Just presented FWIW; no guarantees. Might work for some at some time.

Tom Liotta

Tom Liotta
The PowerTech Group, Inc.
19426 68th Avenue South
Kent, WA 98032
Phone  253-872-7788
Fax  253-872-7904

The ALL NEW CS2000 from CompuServe
 Better!  Faster! More Powerful!
 250 FREE hours! Sign-on Now!

This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email:
To subscribe, unsubscribe, or change list options,
or email:
Before posting, please take a moment to review the archives

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