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



The statement with the user profile on it should have the word "USER"
removed. That line should just have two values, the logon ID and the
password.

Rich Loeber - @richloeber
Kisco Information Systems
[1]http://www.kisco.com

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

On 5/15/2017 12:04 PM, Versfelt, Charles wrote:

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 [2]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 [3]<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 [[4]mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Versfelt, Charles
Sent: Monday, May 15, 2017 10:08 AM
To: [5]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 [6]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.

References

Visible links
1. http://www.kisco.com/
2. ftp://ftp.hostedftp.com/
3. mailto:Tommy.Holden@xxxxxxxxx
4. mailto:midrange-l-bounces@xxxxxxxxxxxx
5. mailto:midrange-l@xxxxxxxxxxxx
6. ftp://ftp.hostedftp.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.