|
Hi DavidI can't think of anything specifically to do with your problem other than to wonder whether you are using a name in the script that is not resolving to where you expect it to, and therefore not being authenticated.
One thing I have somehow fallen into the habit of doing in my FTP scripts is starting the script with two blank lines - I found that it seemed to help with authentication issues similar to what you are reporting. At the time I was running FTP connections to number of different system and this seemed to help although I cannot remember the specifics (it was years ago).
Hope this helps Regards Evan Harris At 02:04 p.m. 4/01/2006, you 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 mailing list archive is Copyright 1997-2025 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.