Here's how I've done it from system a to system b.
From a command line on system a:
FTP system b
ID
Pswd
Bin
Namefmt 1
Lcd /abc123/def456
Cd /abc123/def456
Put filename
Very Respectfully,
Michael Mayer
IBM I on Power System Admin.
IT Operations.
The Florida Bar
651 E. Jefferson St
Tallahassee, Florida 32399-2300
mmayer@xxxxxxxxxxxxxx
https://www.floridabar.org
Office: 850.561.5761
Cell: 518.641.8906
1. simple ftp ifs to ifs (Jay Vaughn)
----------------------------------------------------------------------
message: 1
date: Fri, 13 Nov 2020 14:37:20 -0500
from: Jay Vaughn <jeffersonvaughn@xxxxxxxxx>
subject: simple ftp ifs to ifs
I thought for sure I was doing this right (and have done before)... but can anyone tell me why this cannot find the file on the remote i IFS?
I can assure you the file is there plain as day.
------
OS/400 is the remote operating system. The TCP/IP version is "V7R4M0".
250 Now using naming format "0".
257 "QGPL" is current library.
Enter an FTP subcommand.
ASCII
200 Representation type is ASCII nonprint.
Enter an FTP subcommand.
NAMEFMT 1
250 Now using naming format "1".
Server NAMEFMT is 1.
Client NAMEFMT is 1.
Enter an FTP subcommand.
lcd /ptenctest2
Local working directory is /ptenctest2
Enter an FTP subcommand.
cd /ptenctest2
250 "/ptenctest2" is current directory.
Enter an FTP subcommand.
GET test.TXT (REPLACE
250 Now using naming format "1".
257 "/ptenctest2" is current directory.
229 Entering Extended Passive Mode (|||7286|).
550 Unable to find file /ptenctest2/test.TXT
Enter an FTP subcommand.
quit
221 QUIT subcommand received.
------------------------------
.
________________________________
Please note: Florida has very broad public records laws. Many written communications to or from The Florida Bar regarding Bar business may be considered public records, which must be made available to anyone upon request. Your e-mail communications may therefore be subject to public disclosure.
As an Amazon Associate we earn from qualifying purchases.