Following are instructions on FTPing a save file to your AS/400. The example
below uses SPLTOOL as the file we are restoring. Replace the SPLTOOL name with
the name of the file you are restoring.
Create an empty save
file on your AS/400 named SPLTOOL in libary QGPL
Click the Start button on your Windows task bar. Select the
Run option. In the Open: dialog box, type in ftp. This will start your ftp session.
Use the following FTP commands. (The commands you type in are in bold
italics. Press Enter after each command.)
(to) your system ip address or DNS name Connected to xxxxx
220-QTCP at xxxxx. 220 Connection will close if idle more than 5 minutes.
User (xxxxx:(none)): your user name 331 Enter password.
Password: your password 230 user name logged on. ftp>
quote site namefmt 0 250 Now using name format "0".
ftp> bin 200 Representation type is binary. ftp> put
(local-file) c:\spltool (remote-file) qgpl/spltool
200 PORT subcommand request successful. 150 Sending file to
member SPLTOOL in file SPLTOOL in library QGPL. 250 File transfer completed
successfully. 11704 bytes sent in 0.06 seconds (195.07 Kbytes/sec) ftp>
Restore library SPLTOOL from the save file
you just FTPed to your AS/400.
My client wanted to perform real-time street validation
using UPS Online Tools. This required an HTTP POST of XML data and the use
of SSL. Thanks to GETURI I was able to develop and implement the project
quickly and easily. The client is extremely happy, so much so that they
are now looking towards using similar techniques to use other services supplied
by UPS, e.g. Shipment Tracking. GETURI works great and Bradley's support
has been excellent. - Andy Stafford, Sr. Technical Consultant, The Mesa
Group, Jacksonville FL.