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



Sample FTP script:
USERPROFILE PASSWORD
CD /Myron catalog


Thanks,
Tommy Holden

-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Versfelt, Charles
Sent: Monday, May 15, 2017 11:04 AM
To: midrange-l@xxxxxxxxxxxx
Subject: RE: FTP issue Authentication


1. RE: FTP issue Authentication (Tommy Holden)

Hi Tommy,

Actually I thought I didn't need the OPEN. I actually tried it with and without the OPEN.
When I tried it without the OPEN I got a different error, below.

Thanks,
Charlie

Output redirected to a file.
Input read from specified override file.
Connecting to host ftp.HOSTEDFTP.COM at address xxx.xxx.xxx.xxx using
220 Service ready for new user.
Enter login ID (prof_name):
Number of arguments for a prompted login to the server not correct.
Enter an FTP subcommand.
CD /Myron catalog
You must first issue the USER subcommand.
Enter an FTP subcommand.


----------------------------------------------------------------------

message: 1
date: Mon, 15 May 2017 15:12:51 +0000
from: Tommy Holden <Tommy.Holden@xxxxxxxxx>
subject: RE: FTP issue Authentication

You don't need the OPEN it's specified on the FTP command, it's interpreting OPEN as the user ID


Thanks,
Tommy Holden

-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Versfelt, Charles
Sent: Monday, May 15, 2017 10:08 AM
To: midrange-l@xxxxxxxxxxxx
Subject: FTP issue Authentication

I'm having an issue doing FTP, we're using a method we've used in the past.
Source file contains the script and the log goes to a second source file.
I changed some of the names but left the rest the same.

FTP command in CL program:
FTP RMTSYS('SYSNAME.HOSTEDFTP.COM')

Script:
OPEN SYSNAME.HOSTEDFTP.COM
USER prof_name passwd10
CD /Myron catalog
PUT eprodcat_1746207GR.csv
QUIT

The log I'm getting:

Connecting to host ftp.HOSTEDFTP.COM at address xxx.xxx.xxx.xxx using p
220 Service ready for new user.
Enter login ID (prof_name):
331 User name okay, need password for OPEN.
530 Authentication failed.
Enter an FTP subcommand.
USER prof_name **********
No response from remote host; all connections closed.

I have the AS/400 profile and password the same as the remote profile and password.
The only thing I can think of is that the remote profile is lower case and the iSeries it's upper case.
I don't know if that matters.

I'm running this signed on under that user profile.
When I do FTP from the command line and enter the user profile & password I successfully get in.

Charlie

This email message has been scanned for viruses and malware by Mimecast.
--

This email message has been scanned for viruses and malware by Mimecast.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxx for any subscription related questions.

Help support midrange.com by shopping at amazon.com with our affiliate link: http://amzn.to/2dEadiD

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.