PxPlus User Forum

Twitter Twitter Twitter

Recent Posts

Pages: [1] 2 3 ... 10
1
Webster Plus / Re: Password for downloaded CATS Webster+ demo
« Last post by jhendrickx00 on May 13, 2024, 07:06:16 PM »
Why just don't request another password with your same email?

https://demo.pvxplus.com/

  Check the button [ I forgot my password ] and provide your email.

Jean H//
2
Webster Plus / Password for downloaded CATS Webster+ demo
« Last post by pwhirley on May 13, 2024, 02:05:24 PM »
Hello All,
I have downloaded the CATS Webster+ demo application but cannot find the password.  Since I'm not terribly familiar with the PXPlus security system, yet, I have been unable to figure out how to hack it and get into the demo on my local system.

What's the user name and password for the demo system that I have downloaded?

Thanks - Phil
3
Programming / Re: Source code formatter
« Last post by pwhirley on May 13, 2024, 11:52:26 AM »
This is great news, Len!  Thanks for letting us know.  I will look forward to the extension and will immediately begin playing with it. 

Perhaps I'll even make it to the developer conference in September, though I can't find much information on it.

Phil
4
Programming / close programme
« Last post by Danilo David on May 13, 2024, 04:55:17 AM »
hello,

Anyone knows, sometimes when Im uploading a file in the system
theres a popup "close programme" then when you press ok it will close everything
but thats not always like that, sometimes is ok.

Thank you for your reply
regards,
Danilo
5
Cedric

Here is the code I use on Linux to ungzip content returned by some APIs we're working with :

Code: [Select]
0780 UNGZIP:
0790 ENTER (GZIPPED$)
0800 !
0810 UNGZIPPED$=""
0820 !
0830 GZFILE$="/tmp/pvx/TEMP."+FID(0)+"."+DTE(0:"YYYYMMDD.%Hz%mz%sz")+".gzip"
0840 OPEN CREATE PURGE (HFN,ISZ=-1,ERR=*NEXT)GZFILE$
0850 IF TCB(2)=1 THEN RETURN ""
0860 WRITE RECORD (LFO,SIZ=LEN(GZIPPED$),ERR=*NEXT)GZIPPED$; GZIPPED$=""
0870 CLOSE (LFO)
0880 FOR (GZIPPED$="")
0890 OPEN (HFN,ERR=*BREAK)"<cat "+GZFILE$+"|gzip -d"
0900 UNGZIPPED$+=RCD(LFO,END=*NEXT); GOTO *SAME
0910 CLOSE (LFO)
0920 ERASE GZFILE$,ERR=*NEXT
0930 NEXT
0940 !
0950 RETURN UNGZIPPED$

Hope this helps
6
Programming / Re: accept-encoding gzip issue with call "*plus/web/request"
« Last post by Mike King on May 10, 2024, 04:25:24 PM »
Glad to hear you got it to work.

Perhaps the data is nt only gzip'ed but also Base64 encoded which would be common where binary data, such as what would be in the zipped contents, is involved.
7
Programming / Re: accept-encoding gzip issue with call "*plus/web/request"
« Last post by Cedric on May 10, 2024, 11:04:26 AM »
Thanks Mike, the info is helpful, but unfortunately the UCP solution throws an error 46.
I've tried with prefix, without, with other like $01$, $02$, etc... Always the same...

I'm thinking it may be related to the error 29 I'm getting while trying to simply print the data to screen.


Anyway, for now, I was able to reach out to the server admin so that I can receive the data uncompressed.


thanks
8
Programming / Re: accept-encoding gzip issue with call "*plus/web/request"
« Last post by Mike King on May 10, 2024, 08:26:37 AM »
Further info...

If you need to decompress data in a response prefix the data with a $00$ then pass it to the UCP function.

See https://manual.pvxplus.com/PXPLUS/functions/ucp.htm for details
9
Programming / Re: accept-encoding gzip issue with call "*plus/web/request"
« Last post by Mike King on May 10, 2024, 12:21:30 AM »
If you need to provide the content type to the request you can pass it in as the fifth parameter to *plis/web/request.

See https://manual.pvxplus.com/PXPLUS/Web%20Services/Overview.htm#submitting

To compress data use the CMP() function and strip the first byte as per the manual.
10
ODBC / Re: ODBC with latest MS Excel
« Last post by Mike Hatfield on May 09, 2024, 05:29:31 PM »
Hi Devon & Tom,

I see that you found the same solution as I did.
Thanks to all for the responses :)
Pages: [1] 2 3 ... 10