Search found 955 matches

by Scott Klement
Sat Dec 06, 2025 6:45 am
Forum: FTPAPI
Topic: Anyone tried these FTP APIs to download CSV file from PC to IFS?
Replies: 1
Views: 3183

Re: Anyone tried these FTP APIs to download CSV file from PC to IFS?

Are you certain you want to use FTP for that? I'm very skeptical of that approach.

FTP is not a secure protocol, and you're discussing installing an FTP server on a PC... seems like a bad idea.
by Scott Klement
Sat Dec 06, 2025 6:44 am
Forum: Other ScottKlement.com Tools
Topic: PRTSTMFR4
Replies: 2
Views: 3873

Re: PRTSTMFR4

IIRC, there's an OVRPRTF coded inside the code for PRTSTMF, you'd have to edit the code and recompile it to get something like a drawer.
by Scott Klement
Sat Dec 06, 2025 6:43 am
Forum: HTTPAPI
Topic: HTTPAPI and http_parse_xml_stmf error
Replies: 5
Views: 18452

Re: HTTPAPI and http_parse_xml_stmf error

Yes, with SQL functions or (my choice would be) XML-INTO/XML-SAX.

The XML stuff in HTTPAPI is from back before IBM added any of that stuff into the operating system, though its been used all over the world in thousands of applications, and I've never heard of it failing sporadically.
by Scott Klement
Sat Nov 29, 2025 12:34 am
Forum: General
Topic: Help to get data from storage.googleapis.com
Replies: 7
Views: 25358

Re: Help to get data from storage.googleapis.com

manga63 wrote: Thu Nov 27, 2025 10:10 am My customer can't upgrade from 7.2 to 7.3
Any Idea??
Don't use the systools http routines... use HTTPAPI, this is the website for HTTPAPI, after all.
by Scott Klement
Sat Nov 29, 2025 12:32 am
Forum: General
Topic: how to send a message to external syslog
Replies: 3
Views: 7331

Re: how to send a message to external syslog

5733SC1 is openssl, isn't it? What does that have to do with syslog??
by Scott Klement
Sat Nov 29, 2025 12:30 am
Forum: HTTPAPI
Topic: HTTPAPI and http_parse_xml_stmf error
Replies: 5
Views: 18452

Re: HTTPAPI and http_parse_xml_stmf error

The first 2 bytes of the value are x'8000', which means the length is 32768, since the parameter is defined as 32767, you are getting the error.

You talk like the error is sporadic, but... doesn't it happen consistently with certain XML documents? If you do the same document again, you don't get ...
by Scott Klement
Thu Nov 27, 2025 12:24 am
Forum: General
Topic: how to send a message to external syslog
Replies: 3
Views: 7331

Re: how to send a message to external syslog

I assume there are utilities for logging things to syslog from within PASE. Why not use one of those?

that said, I haven't tried it. I have never had a reason to write to syslog from IBM i.
by Scott Klement
Thu Nov 27, 2025 12:19 am
Forum: HTTPAPI
Topic: HTTPAPI and http_parse_xml_stmf error
Replies: 5
Views: 18452

Re: HTTPAPI and http_parse_xml_stmf error

What is the hex value of the first 4 bytes of the 'value' parameter?

How can this problem be reproduced?
by Scott Klement
Thu Nov 27, 2025 12:16 am
Forum: General
Topic: Help to get data from storage.googleapis.com
Replies: 7
Views: 25358

Re: Help to get data from storage.googleapis.com

403 Forbidden means you are not permitted access. Either the URL or the server, or something else (such as the IP address you are coming from) is not allowed.
by Scott Klement
Thu Nov 27, 2025 12:13 am
Forum: HTTPAPI
Topic: Web Service Issue – HTTP 400 Bad Request
Replies: 2
Views: 12018

Re: Web Service Issue – HTTP 400 Bad Request

The reason you can't read the characters is that they are compressed with gzip. I don't know why they are sending it that way, the HTTP standard says that they are not allowed to compress the payload unless the client says they allow it. Compression is always optional in HTTP. But they have decided ...