(REPLACE is not part of the PUT subcommand, only the GET, AFAIK. Some clients have an APPEND and a PUT that are different, but PUT always tries to replace whatever you name as the target file.

It might be necessary to see the joblog of the FTP server job - check the 400 just after you have logged in by using WRKOBJLCK YOURID *USRPRF and look for the FTP job. Then change its logging to 4 0 *SECLVL and continue. See whether anything shows up.

Also, are there FTP exit points set up on the target box?

HTH
Vern

At 11:44 AM 11/8/2004, you wrote:
Use (REPLACE.
put pc210p pc210p (REPLACE

John Brandt
iStudio400.com
(903) 523-0708
Home of iS/ODBC - MSSQL access from iSeries and RPG.




-----Original Message----- From: EDoxtator [mailto:doc6502@xxxxxxxxx] Sent: Monday, November 08, 2004 11:25 AM To: midrange-l@xxxxxxxxxxxx Subject: FTP error I don't understand...


Hi All

I'm trying to do a physical file to physical file FTP from a V5R1 system to
another V5R1 system.  When I run FTP interactively, I see the following:

> ftpid

  331 Enter password.

  230 FTPID logged on.

   OS/400 is the remote operating system. The TCP/IP version is "V5R1M0".

  250  Now using naming format "0".

  257 "QGPL" is current library.

> bin

  200 Representation type is binary IMAGE.

> cd aplasmtst

  250 "APLASMTST" is current library.

> lcd mrpdlib

  Local working dirctory is MRPDLIB

> put pc210p pc210p

  200 PORT subcommand request successful.

  426-Unable to open or create target file PC210P in library APLASMTST.

  426 Data transfer ended.

What is the "426 - Uanvel to open or create target file error"?  The user,
FTPID, has *ALL authority to the target file.  The target file is not in
use.
The from file is locked, but since the FTP is doing a PUT, would that
matter?
I've tried this under different user ID's, and different target libraries,
and
the result is always the same.

Thanks!

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

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.783 / Virus Database: 529 - Release Date: 10/25/04


--- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.789 / Virus Database: 534 - Release Date: 11/7/04

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


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.