Uploading an IBM i Library or Objects using FTP

Steps to Upload an IBM i Library or Objects using FTP
Uploading an IBM i Library or Objects using FTP,ftp, file transfer protocol, ftp in as400, ftp in ibmi, upload save file using ftp on ibmi As400, upload library and objects using ftp on ibmi, RSTLIB,RSTobj,DOS, RUN, CMD, command prompt, open, send, put ftp commands on dos,bin, ibmi, iseries, systemi, as400, as400 and sql tricks, ftp using command propmt from ibmi as400, steps to upload save file from ibmi using ftp
Uploading an IBM i Library or Objects using FTP

Listed below the following steps to Upload the IBM i(AS400) library or objects through FTP (File Transfer Protocol).

Upload 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 3rd or 4th 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 binary or bin to enter into the binary mode and press Enter.
  6. For Uploading IBM i (AS400) library, type
  7. send desktop\\savf1.lib /qsys.lib/easyclass1.lib/savf1.savf 

    or

    put desktop\\savf1.lib /qsys.lib/easyclass1.lib/savf1.savf
  8. Restore library/objects from the save file using the RSTLIB or RSTOBJ commands.

Live Demo of Uploading IBM i (AS400) library/objects saved in a save file using FTP

(c) Microsoft Corporation. All rights reserved.

C:\\Users\\Asus>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> bin
200 Representation type is binary IMAGE.
ftp> send desktop\\savf1.lib /qsys.lib/easyclass1.lib/savf1.savf
200 PORT subcommand request successful.
150 Sending file to member SAVF1 in file SAVF1 in library EASYCLASS1.
226 File transfer completed successfully.
ftp: 14146176 bytes sent in 20.70Seconds 683.46Kbytes/sec.
ftp> put desktop\\savf1.lib /qsys.lib/easyclass1.lib/savf1.savf
200 PORT subcommand request successful.
150 Sending file to member SAVF1 in file SAVF1 in library EASYCLASS1.
226 File transfer completed successfully.
ftp: 14146176 bytes sent in 30.11Seconds 469.77Kbytes/sec.
ftp>

Post a Comment

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