How do I transfer source member from IBM i to Windows PC using FTP?

How do I transfer source member from IBM i to Windows PC using FTP?
How do I transfer source member from IBM i to Windows PC using FTP?,download source member using ftp from ibmi to pc,download source member using ftp from ibmi to windows,downloading source member using ftp from ibmi to pc,transfer source member using ftp from ibmi to pc, ftp, file transfer protocol, ifs as400, ibmi ifs, download source member using ftp from as400 to pc,transfer source member using ftp from as400 to pc,ascii, type ascii, open host, ftp commands, ftp commands on ibmi, ftp command in as400, run, cms, command prompt, cd, dos,as400,iseries, systemi, ibmi, as400 tutorial, ibmi tutorial, as400 and sql tricks
How do I transfer source member from IBM i to Windows PC using FTP?

Listed below the following steps to transfer any source member from IBM i (AS400) to Windows PC.

Transfer steps:

  1. Open the DOS prompt by typing RUN command on start menu search bar and press Enter and then type cmd in OPEN field on the Run dialog and press Enter or click on OK button of the Run Dialog and start FTP file transfer by typing FTP and pressing Enter. After that in the FTP prompt,type OPEN pub400.com(IP address) and press Enter.
  2. or

  3. Open the DOS prompt and start FTP file transfer by typing FTP pub400.com(IP address) and press Enter. You can opt either 1st or 2nd step (anyone).
  4. In the IBM i(AS400) login prompt, type your IBM i (AS400) Userid and password to log in to the IBM i(AS400) FTP Server.
  5. Once logged in, type ascii or type ascii to set the file transfer type to network ASCII (default type) and press Enter.
  6. For transferring IBM i (AS400) source member to windows PC, type
  7. get /qsys.lib/easyclass1.lib/prtf.file/prtf1a.mbr C:\\Users\\Asus\\Desktop\\prtf1a.prtf

    Here, we located the source member prtf1a through source file prtf in library easyclass1 and transferred to the windows PC location Desktop with file name prtf1a.prtf

Live Demo of transferring source member from IBM i (AS400) to Windows PC using FTP

Microsoft Windows [Version 10.0.19044.1645]
(c) Microsoft Corporation. All rights reserved.

C:\\Users\\Asus>cd desktop

C:\\Users\\Asus\\Desktop>ftp
ftp> open pub400.com
Connected to pub400.com.
220-QTCP at PUB400.COM.
220 Connection will close if idle more than 1666 minutes.
501 OPTS unsuccessful; specified subcommand not recognized.
User (pub400.com:(none)): easyclass
331 Enter password.
Password:
230 EASYCLASS logged on.
ftp> ascii
200 Representation type is ASCII nonprint.
ftp> get /qsys.lib/easyclass1.lib/prtf.file/prtf1a.mbr C:\\Users\\Asus\\Desktop\\prtf1a.prtf
200 PORT subcommand request successful.
150 Retrieving member PRTF1A in file PRTF in library EASYCLASS1.
226 File transfer completed successfully.
ftp: 1365 bytes received in 0.00Seconds 1365000.00Kbytes/sec.
ftp>

Source Member Downloaded to Windows PC

Post a Comment

© AS400 and SQL Tricks. All rights reserved. Developed by Jago Desain