[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: trying to grab a web page and write to IFS on iseries
Thanks so much - think I got it now.
Went with the ZIP file Download options.
Got it to work with the "Manual" method.
The "Manual Method" documentation forgot the QCMDSRC file.
From web page:
Manual Upload to iSeries
Not everyone wants to use my batch file (bummer) so here are the steps
that the batch file takes for you. Type them carefully to do this
process manually:
Create the necessary objects on your AS/400:
CRTLIB LIB(LIBHTTP)
Rounded Rectangular Callout: Missing QCMDSRC Rounded Rectangular
Callout: Missing QCMDSRC CRTSRCPF FILE(LIBHTTP/QCLSRC) RCDLEN(92)
CRTSRCPF FILE(LIBHTTP/QDDSSRC) RCDLEN(92)
CRTSRCPF FILE(LIBHTTP/QRPGLESRC) RCDLEN(112)
CRTSRCPF FILE(LIBHTTP/QSH) RCDLEN(124)
CRTSRCPF FILE(LIBHTTP/QSRVSRC) RCDLEN(92)
CRTSRCPF FILE(LIBHTTP/QXMLGENS) RCDLEN(112)
CRTSRCPF FILE(LIBHTTP/EXPAT) RCDLEN(112)
Transfer all of the source code to your AS/400
Open an MS-DOS Prompt.
Type: cd \directory\where\you\unzipped\httpapi
Type: ftp your-as400-name-here
Type: (enter your username & password when asked)
Type: quote site namefmt 1
Type: cd /qsys.lib/libhttp.lib
Type: prompt off
Type: ascii
Type: lcd QCLSRC.FILE
Type: cd QCLSRC.FILE
Type: mput *
Type: lcd ../QDDSSRC.FILE
Type: cd ..
Type: cd QDDSSRC.FILE
Type: mput *
Type: lcd ../QRPGLESRC.FILE
Type: cd ..
Type: cd QRPGLESRC.FILE
Type: mput *
Type: lcd ../QSH.FILE
Type: cd ..
Type: cd QSH.FILE
Type: mput *
Type: lcd ../QSRVSRC.FILE
Type: cd ..
Type: cd QSRVSRC.FILE
Type: mput *
Type: lcd ../QXMLGENS.FILE
Type: cd ..
Type: cd QXMLGENS.FILE
Type: mput *
Type: lcd ../EXPAT.FILE
Type: cd ..
Type: cd EXPAT.FILE
Type: mput *
Type: quit
-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
[mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Scott
Klement
Sent: Wednesday, February 15, 2012 3:04 PM
To: HTTPAPI and FTPAPI Projects
Subject: Re: trying to grab a web page and write to IFS on iseries
Hi Joel,
From your screenshot, it looks like you're using the .ZIP file method
of installation. Inside the ZIP file is a batch file that creates the
files and uploads the members to them.
When you ran this batch file it, apparently, got some errors. Your
screen shot shows a few of them, but all they say is that it failed --
they don't give the reason why.
When I try the same UPLOAD.BAT on my system, it works without any
errors.
I don't know what to suggest, other than that you should try running
this commands by hand and see what errors you get.
On 2/15/2012 1:10 PM, Stone, Joel wrote:
> Trying to install HTTPAPI
>
>
> Files such as HTTPAPI/QRPGLESRC are created, but empty.
>
>
> Here are some errors.
>
>
> Is this an authority issue on the /400?
>
>
> Thanks
>
>
>
> [cid:image001.png@01CCEBE3.36748050]
>
>
______________________________________________________________________
> This outbound email has been scanned for all viruses by the
MessageLabs
> Skyscan service.
> For more information please visit http://www.symanteccloud.com
>
______________________________________________________________________
>
>
>
>
>
-----------------------------------------------------------------------
> This is the FTPAPI mailing list. To unsubscribe, please go to:
> http://www.scottklement.com/mailman/listinfo/ftpapi
>
-----------------------------------------------------------------------
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------
_______________________________________________________________________
_
This inbound email has been scanned for all viruses by the MessageLabs
SkyScan
service.
_______________________________________________________________________
_
______________________________________________________________________
This outbound email has been scanned for all viruses by the MessageLabs
Skyscan service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________


-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------