Search found 658 matches

by Scott Klement
Wed Aug 18, 2021 2:03 pm
Forum: General
Topic: Strange problem in SFTP script
Replies: 5
Views: 25321

Re: Strange problem in SFTP script

It needs to be a string that will actually appear on the screen! "continue connecting (yes/no/fingerprint)?" won't work, because this never appears on the screen. likewise, "continue connecting (yes/no)?" won't work since the new version no longer contains "(yes/no)" wi...
by Scott Klement
Wed Aug 18, 2021 7:46 am
Forum: YAJL-ILE
Topic: How can I make a log file of Json requests and responses?
Replies: 2
Views: 15134

Re: How can I make a log file of Json requests and responses?

If you are on a recent version of YAJL, the yajl_stdin_load_tree subprocedure has a 3rd optional parameter that is an IFS path name that it can save the request to. If that file isn't sufficient and it needs to be in a separate log, you will need to write the data to a temporary file, then read it i...
by Scott Klement
Wed Aug 18, 2021 7:36 am
Forum: General
Topic: Strange problem in SFTP script
Replies: 5
Views: 25321

Re: Strange problem in SFTP script

Why not use something like this, so it doesn't matter if it offers the fingerprint option? expect { default {exit 2} "continue connecting (yes/no" {send "yes\n"; exp_continue} "password:" {send "$env(SSH_PASS)\n"; exp_continue} "sftp>" } Why do you r...
by Scott Klement
Thu Aug 12, 2021 11:57 pm
Forum: YAJL-ILE
Topic: Consume Dynamic JSON
Replies: 2
Views: 9538

Re: Consume Dynamic JSON

2) write a program to get the "KEY" name from JSON and then store it in an Array / temp file and then read that Array/Temp file and get all the values using YAJL_OBJECT_FIND(<arrayname[index]/temp file field name) I don't understand what the purpose of the array or temp file is? Why not j...
by Scott Klement
Wed Aug 11, 2021 1:05 am
Forum: HSSFR4
Topic: Apache POI 3.6 - Help with RowShift
Replies: 10
Views: 36271

Re: Apache POI 3.6 - Help with RowShift

Unfortunately, I have not used RowShift. (That's why there wasn't prototypes for it in the HSSF download.) Doing a quick Google, I can see that there is both the RowShift routine that you pointed to, as well as a whole class called "RowShifter", the docs seem to say that the RowShifter cla...
by Scott Klement
Tue Aug 10, 2021 7:46 pm
Forum: YAJL-ILE
Topic: YAJL_BUF_LOAD_TREE Handling Null Values
Replies: 3
Views: 10582

Re: YAJL_BUF_LOAD_TREE Handling Null Values

This is an invalid JSON document. If unsure, you can use the website https://jsonlint.com/ to check your document and see if it's valid.

It's not valid to have a json element with no value like this: "trdate9": ,

You would need to change that to: "trdate9": null,
by Scott Klement
Tue Aug 10, 2021 5:06 pm
Forum: HSSFR4
Topic: Apache POI 3.6 - Help with RowShift
Replies: 10
Views: 36271

Re: Apache POI 3.6 - Help with RowShift

They say talking to yourself is a sign of high intelligence :)
by Scott Klement
Tue Aug 10, 2021 1:24 am
Forum: HTTPAPI
Topic: Problem Getting Connected (I think)
Replies: 13
Views: 27402

Re: Problem Getting Connected (I think)

Is the entire document there if you look at the IFS file that you're putting it (before sending it)?
by Scott Klement
Mon Aug 09, 2021 9:56 pm
Forum: HTTPAPI
Topic: Problem Getting Connected (I think)
Replies: 13
Views: 27402

Re: Problem Getting Connected (I think)

http_stmf() has a limit of, I believe, 2 gb. For sure its nothing close to as small as 177,000 -- that's a very small document, actually.
by Scott Klement
Mon Aug 09, 2021 9:51 pm
Forum: HTTPAPI
Topic: Problem Getting Connected (I think)
Replies: 13
Views: 27402

Re: Problem Getting Connected (I think)

I've not heard of a certificate causing an error like this... It could be a cipher error -- like, a bug in the cryptography is causing things to go awry, so it disconnects. ...but I can't see how it'd be a certificate? The certificate exchange happened at the start, and it was accepted... At any rat...