×

Good News Everybody!

The new search engine is LIVE!

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




That file should work.  And no, you don't need the password on the same 
line as the user name.  I wonder though if FTP is finding this member? 
This name is not the same name I remember from your earlier post.





Please respond to MIDRANGE-L@midrange.com
Sent by:        owner-midrange-l@midrange.com
To:     MIDRANGE-L@midrange.com
cc: 

Subject:        Re: FTP commands from source member

Here is my FTPINPUT file (which I use)
jlangstn somepass
put jimconex/spoolit.month9710
put ...
yada...yada...yada...
close
quit


As you can see, the user name and password must be on the same line.

It took me a little bit to work this out too.

And, yes, that is not my real password. <g>

Regards,

Jim Langston

Roger Boucher wrote:

> Okay, so it's my first try... but I can't get it to work.  I can 
establish
> FTP connection to SERVERNAME and then login in from an AS/400 command 
line,
> but when I try to run it from a program I get messages telling me I 
can't
> log in:
>
> I have tried every possible combination of ways to specify username and
> password.  I've tried them on the same line, seperate lines, with and
> without the subcommands USER and PASSWORD (even tried PASS) and nothing 
is
> working.  I always get the message telling me I cannot log in.  Anyone 
see
> what I'm doing wrong?
>
> TIA
>
> Here's the program...
> CLRPFM     FILE(MYLIB/MYFILE) MBR(OUTPUT)
> OVRDBF     FILE(INPUT) TOFILE(MYFILE/MYLIB) MBR(INPUT)
> OVRDBF     FILE(OUTPUT) TOFILE(MYFILE/MYLIB) MBR(OUTPUT)
> FTP        RMTSYS(SERVERNAME)
>
> Here's the output member...
> Output redirected to a file.
> Input read from specified override file.
> Connecting to host SERVERNAME at address xxx.xxx.xxx.xxx using port 21.
> 220 servername Microsoft FTP Service (Version 4.0).
> Enter login ID (AS/400USERNAME):
> 331 Password required for NETWORKUSERNAME.
> 530 User NETWORKUSERNAME cannot log in.
> Enter an FTP subcommand.
> > PUT XXXXX/YYYYYY.............
>
> Roger Boucher
> Standard Pacific Corp.
> rboucher@stanpac.com
> 714-668-4326
>
> +---
> | 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
> +---

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



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