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



It isn't necessary to have more than one space between the user id and password.

David Gibbs wrote:
Folks:

I have a problem with a FTP script on a V5R3 system that's got me puzzled.

Basically I'm trying to automate the transfer of a save file from one
system to another.

My script looks something like this ...

-----
userid     password
quot site namefmt 0
binary
quot rcmd crtlib rmtlib
quot rcmd crtsavf rmtlib/rmtsavf
put lcllib/lclsavf rmtlib/rmtsavf
quit
-----
(yes, there are more than one blank space between the user id & password)

I'm overriding INPUT to the script, and OUTPUT to a log file, both are
source pf's.

When I invoke the FTP command with "FTP '<rmtipaddr>'", I get a "520
login by user userid reject" (or something to that effect).

If I login manually, it works fine.

The behavior I'm observing is the same as if I didn't specify the
password to login.

This worked fine last month ... but now it's not working.

Any suggestions where to look?  AFAICT, there's been no changes to the
system at all.

Thanks!

david



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.