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



Charles,
If your file on the IBM i is a database file, you need to specify that file
name in you put:
PUT database control_1746248GR.csv
If the file is located in the IFS and has the same name as the file you are
creating, you should either issue an LCD command (set local directory)
before the PUT, or qualify the file name being sent: /mydir/p
rodcat_1746250GR.csv

Jeff Young
Sr. Programmer Analyst

On Mon, May 15, 2017 at 4:30 PM, Versfelt, Charles <CVERSFELT@xxxxxxxxx>
wrote:

subject: RE: FTP issue Authentication (Rich Loeber)

Are you going to IBM i?
Then I suspect you forgot to change from namefmt 0 to namefmt 1 and it's
trying to put a csv file into the qsys.lib file system.

Or, you are using namefmt 1 but you are trying to go to /qdls and that
crap only supports 8.3


Rob Berendt
--

I confess, I'm a novice at this. The programmer who originally worked on
this is retired.
Did not know about NAMEFMT.

I'm going from an IBM i to, I believe from what I see in the log, a UNIX
system.
I tried it with NAMEFMT 1 in my script and got a new error.
I'll show you my script and the error.

Script
user_id password
NAMEFMT 1
CD /Myron catalog
PUT control_1746248GR.csv
QUIT

Connecting to host ftp.HOSTEDFTP.COM at address xxx.xxx.xxx.xxx using p
220 Service ready for new user.
Enter login ID (user_id):
331 User name okay, need password for user_id.
230 User logged in, proceed.
UNIX Type: Apache FtpServer
Enter an FTP subcommand.
NAMEFMT 1
502 Command SITE not implemented for NAMEFMT.
Client NAMEFMT is 1.
Enter an FTP subcommand.
CD /Myron catalog
250 Directory changed to /Myron catalog
Enter an FTP subcommand.
PUT eprodcat_1746250GR.csv
Unknown extension in database file name.

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