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



I do this all day long and I frequently have multiple spaces between Uid and Pwd with no problems.

One thing to try would be to tell the program to ftp to 127.0.0.1 (loopback) Then in the script file put in

itno workie <- This userid and password will fail I suspect
close <- This closes the connection to the 127.0.0.1 address after the failed login.
open a.b.c.d <- Opens the connection to the site you want to connect to
userid password <- Original userid and password here.

Then proceed as previous. This may not do anything super but it should generate significant additional fodder in the OUTPUT file.

- Larry

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

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.