×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




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

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 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.