Search found 660 matches

by Scott Klement
Thu Mar 07, 2024 6:16 am
Forum: General
Topic: Batch CL for sFTP with Password Authentication
Replies: 5
Views: 1213

Re: Batch CL for sFTP with Password Authentication

The $ character has a special meaning in a shell script, so to put a $ in your SSH_ASKPASS script you would need to escape it properly.
by Scott Klement
Wed Mar 06, 2024 6:18 am
Forum: YAJL-ILE
Topic: DATA-GEN \n and \"
Replies: 6
Views: 2007

Re: DATA-GEN \n and \"

I was thinking about this, and it'd probably be helpful if I explained my analysis in more detail. The reason you'd get a result like the one that simonerotax posted is because you had a program like this one: ctl-opt option(*srcstmt); dcl-s theResult varchar(1000); dcl-c LF x'25'; dcl-ds data quali...
by Scott Klement
Wed Mar 06, 2024 4:59 am
Forum: YAJL-ILE
Topic: DATA-GEN \n and \"
Replies: 6
Views: 2007

Re: DATA-GEN \n and \"

I don't see what this has to do with code pages or beautify. This appears to be completely normal and expected data. You are embedding a JSON document inside of another JSON document. When you do that, the JSON document has to be treated as a string -- so any special characters must be escaped. This...
by Scott Klement
Wed Mar 06, 2024 4:55 am
Forum: General
Topic: Batch CL for sFTP with Password Authentication
Replies: 5
Views: 1213

Re: Batch CL for sFTP with Password Authentication

On Unix systems, "tty" (teletype) is synonymous with "terminal". So what this error message is telling you is that it's trying to read the password from the terminal -- and it can't because there is no terminal associated with your session. This tells me that, for some reaon, SSH...
by Scott Klement
Mon Mar 04, 2024 9:59 pm
Forum: YAJL-ILE
Topic: JSONWEBSRV.sqlrpgle
Replies: 26
Views: 3087

Re: JSONWEBSRV.sqlrpgle

As this thread is no longer related to JSONWEBSRV.sqlrpgle, I am going to close it. Please post follow-ups on the other thread.
https://www.scottklement.com/forums/viewtopic.php?t=441

It is very difficult to keep track of a conversation when information is split across two threads.
by Scott Klement
Mon Mar 04, 2024 3:43 am
Forum: HTTPAPI
Topic: HTTPAPI
Replies: 19
Views: 2351

Re: HTTPAPI

I'm happy to answer questions about HTTPAPI. If you want me to create a TIktok account and research their APIs, then determine how to code them, so I can decide if your approach works and provide guidance, that's asking an awful of me. I'd be willing to do it for a consulting fee. But it's too much ...
by Scott Klement
Fri Mar 01, 2024 6:36 pm
Forum: HTTPAPI
Topic: HTTPAPI
Replies: 19
Views: 2351

Re: HTTPAPI

Do you not have a QRPGLESRC file? Kinda sounds like someone installed it and then deleted that file.
by Scott Klement
Thu Feb 29, 2024 8:44 am
Forum: HTTPAPI
Topic: HTTP Service Works one time and gets Internal Server Error
Replies: 2
Views: 974

Re: HTTP Service Works one time and gets Internal Server Error

A program running on an Apache server is ending without sending a response.

This has nothing whatsoever to do with HTTPAPI.
by Scott Klement
Fri Feb 23, 2024 11:51 pm
Forum: FTPAPI
Topic: NAMEFMT 1 - 500 Subcommand NAME not valid
Replies: 7
Views: 4416

Re: NAMEFMT 1 - 500 Subcommand NAME not valid

FTPAPI is automatically in namefmt 1. It is already set up the way you want it.

Only the server has to be changed, you do this by calling FTP_namfmt.
by Scott Klement
Tue Feb 20, 2024 7:58 pm
Forum: HTTPAPI
Topic: Using Oauth2 with HTTPAPI
Replies: 8
Views: 1453

Re: Using Oauth2 with HTTPAPI

It is backward compatible, if you replace the library everything will keep working.

If you want, you can test this by installing it into a different library, and just using the library list to control which copy you're using.