× 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 have the user name and password on the first line without the keywords:
REEVE PASSWORD.

The script doesn't expect to be "prompted" so it's interpreting USER as the
user name, etc.

-----Original Message-----
From: midrange-l-admin@midrange.com [mailto:midrange-l-admin@midrange.com]On
Behalf Of Klein, Ron
Sent: Wednesday, August 29, 2001 10:59 AM
To: ''MIDRANGE-L'
Subject: Batch ftp

Hi All,

I know this should be an easy one, but it has been a long time since I have
done this.

I have a CL that runs an FTP transfer.  But I have something wring in my
input file that I am not getting logged in.  I have tries several variations
and don't seem to have the right combination.

My CL;
****
  PGM
  DCL        VAR(&MBR) TYPE(*CHAR) LEN(10)
  CHGVAR     VAR(&MBR) VALUE(FTPSCRIPT)
  OVRDBF     FILE(INPUT) TOFILE(RONK/QCLSRC) MBR(&MBR)
  OVRDBF     FILE(OUTPUT) TOFILE(RONK/QCLSRC) MBR(OUT)
  CHGVAR     VAR(&MBR) VALUE(FTPSCRIPT)
  FTP        RMTSYS('100.70.60.5')
  ENDPGM
****
My Input file
***
user ronk
pass XXXXX
PUT RONK/QCLSRC RONK/QCLSRC
CLOSE
***
My output log
***
Input read from specified override file.
Connecting to remote host 100.70.60.5 using port 21.
220-QTCP at WPKMN600.
220 Connection will close if idle more than 5 minutes.
Enter login ID (ronk):
331 Enter password.
530 Log on attempt by user USER rejected.
Enter an FTP subcommand.
> PASS ******
***


What's wrong?

TIA
Ron
_______________________________________________
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l
or email: MIDRANGE-L-request@midrange.com



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.