Search found 23 matches

by stefan@tageson.se
Wed Mar 26, 2025 8:08 pm
Forum: Other ScottKlement.com Tools
Topic: UnixCmdOA witth specific shell
Replies: 1
Views: 34625

UnixCmdOA witth specific shell

Hi!
I would like to use /QOpenSys/pkgs/bin/bash as shell in unixcmdoa.
There's references on a "raw" option - any examples available on how to use this?
Thanks!

Stefan
by stefan@tageson.se
Sat Feb 01, 2025 2:25 pm
Forum: HTTPAPI
Topic: Sending XML file to Web Service
Replies: 2
Views: 18325

Re: Sending XML file to Web Service

Are you using the correct endpoint? It seems like a mixup of a GET with parameters and a POST.
What headers are you adding in your AddHeader procedure?
by stefan@tageson.se
Tue Nov 26, 2024 2:27 pm
Forum: HTTPAPI
Topic: Unexpected error
Replies: 2
Views: 21428

Re: Unexpected error

One reason could be that you are not using ccsid 1208 and there are many more .....
If you suspect it's a programming error - posting the relevant code would make it easier for us to help you.
by stefan@tageson.se
Tue Sep 10, 2024 6:18 am
Forum: FTPAPI
Topic: ftp_put: gsk_secure_soc_init: TLS handshake timed out.
Replies: 3
Views: 28866

Re: ftp_put: gsk_secure_soc_init: TLS handshake timed out.

Version 2.8 works as expected.
Big thanks for a fast and accurate reply and action.

All the best,
Stefan
by stefan@tageson.se
Mon Sep 09, 2024 2:22 pm
Forum: FTPAPI
Topic: ftp_put: gsk_secure_soc_init: TLS handshake timed out.
Replies: 3
Views: 28866

Re: ftp_put: gsk_secure_soc_init: TLS handshake timed out.

Updating myself .........

ftpconn = ftp_open( %trimr( i.ftpserver ): FTP_PORT: 15: FTPS_NONE: 0: 0 );

Specifying parameter 5 and 6 as shown seems to mitigate the issue.
Eventually some confusion exists regarding parameter 3 peTLSMode and parameter 6 peTLSData in ftp_open?

all the best,

Stefan
by stefan@tageson.se
Mon Sep 09, 2024 12:29 pm
Forum: FTPAPI
Topic: ftp_put: gsk_secure_soc_init: TLS handshake timed out.
Replies: 3
Views: 28866

ftp_put: gsk_secure_soc_init: TLS handshake timed out.

Hi Scott, I'm upgrading an old rpg-program to rpg-free and meanwhile upgrades to version 2.6 of ftpapi. Having the same issue as previously noted in the forum, where I'm stuck in ftptcp_upgrade. My statements involved: ftpconn = ftp_open( %trimr( i.ftpserver ): FTP_PORT: 15: FTPS_NONE ); ( FTPS_NONE...
by stefan@tageson.se
Tue Sep 03, 2024 12:48 pm
Forum: HTTPAPI
Topic: HTTP Status 415 “ Unsupported Media Type
Replies: 4
Views: 29714

Re: HTTP Status 415 “ Unsupported Media Type

Your content-type is text/html but the payload seems to be json.
Eventually this can upset the server application.
by stefan@tageson.se
Fri Jul 26, 2024 7:19 am
Forum: HTTPAPI
Topic: http_req
Replies: 7
Views: 31488

Re: http_req

Unless I'm misunderstanding something - just code *OMIT for the file to receieve parameter.
You can't use both file to receive and string to receive in the same call.
by stefan@tageson.se
Fri May 17, 2024 3:54 pm
Forum: HTTPAPI
Topic: Will HTTPAPI work with V7R5
Replies: 1
Views: 6116

Re: Will HTTPAPI work with V7R5

Yes, it will.