that worked... thanks.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
#2
Language / Re: ERROR 302 file not found
March 25, 2024, 03:40:51 PMQuote from: Loren Doornek on March 25, 2024, 02:21:17 PM
Does it work if you actually include the filename in the URL?
it does not work if i use the file name.
#3
Language / ERROR 302 file not found
March 25, 2024, 01:50:26 PM
I do the following [tcp] GET from a web site and get an error 302 (file not found)
Here is the code I am using:
08120 LET R$="GET /download/update/ HTTP/1.0"+$0D0A$
08130 LET R$+="Accept-Language: en-us"+$0D0A$
08140 LET R$+="Content-Type: application/x-www-form-urlencoded"+$0D0A$
08150 LET R$+="Host: www.website.ca"+$0D0A$
08160 LET R$+="Content-Length: "+STR(LEN(PARAMS$))+$0D0A$
08170 LET R$+="Cache-Control: no-cache"+$0D0A$+$0D0A$
08180 CLOSE (1);
OPEN (1,ERR=*NEXT)"[tcp]www.website.ca;80";
GOTO 8200
08190 MSGBOX "Unable to connect to the Upgrade Web Site.","Connection Failure","!,TIM=15";
LET CMD_STR$="END";
RETURN
08200 WRITE RECORD (1)R$;
LET RESP$="",X$=""
08210 WHILE 1
08220 READ RECORD (1,TIM=1,ERR=*BREAK)X$
08230 LET RESP$+=X$
08240 WEND
08250 CLOSE (1)
It should bring back the contents of file "index.html" but reports that it cannot find the file.
If I enter the full path to the website and directory in my browser it do get the contents of the "index.html" file.
any ideas on what can be wrong?
Here is the code I am using:
08120 LET R$="GET /download/update/ HTTP/1.0"+$0D0A$
08130 LET R$+="Accept-Language: en-us"+$0D0A$
08140 LET R$+="Content-Type: application/x-www-form-urlencoded"+$0D0A$
08150 LET R$+="Host: www.website.ca"+$0D0A$
08160 LET R$+="Content-Length: "+STR(LEN(PARAMS$))+$0D0A$
08170 LET R$+="Cache-Control: no-cache"+$0D0A$+$0D0A$
08180 CLOSE (1);
OPEN (1,ERR=*NEXT)"[tcp]www.website.ca;80";
GOTO 8200
08190 MSGBOX "Unable to connect to the Upgrade Web Site.","Connection Failure","!,TIM=15";
LET CMD_STR$="END";
RETURN
08200 WRITE RECORD (1)R$;
LET RESP$="",X$=""
08210 WHILE 1
08220 READ RECORD (1,TIM=1,ERR=*BREAK)X$
08230 LET RESP$+=X$
08240 WEND
08250 CLOSE (1)
It should bring back the contents of file "index.html" but reports that it cannot find the file.
If I enter the full path to the website and directory in my browser it do get the contents of the "index.html" file.
any ideas on what can be wrong?
#4
iNomads / Re: certificate upgrade
October 21, 2022, 07:18:46 PM
i assumed they were referring to their web site SSL Certificate.
But i agree with you, that our application launch should not be connected with any new certificate.
But i agree with you, that our application launch should not be connected with any new certificate.
#5
iNomads / certificate upgrade
October 21, 2022, 02:24:54 PM
a client put in a new certificate and our application now has problems launching.
Any ideas what the issue may be?
Any ideas what the issue may be?
#6
Programming / FTP failure
April 21, 2022, 07:45:01 AM
About 2 weeks ago our FTP file operations stopped working from within pxplus.
We create a batch file and execute ftp using an INVOKE command.
The file gets uploaded to the ftp site, but is always empty.
If we manually execute the ftp batch file outside of the pxplus environment, it works.
This is probably not a pxplus problem, but what could be causing this?
We create a batch file and execute ftp using an INVOKE command.
The file gets uploaded to the ftp site, but is always empty.
If we manually execute the ftp batch file outside of the pxplus environment, it works.
This is probably not a pxplus problem, but what could be causing this?
#7
Registration and Setup / Re: Moving PxPlus License key
February 14, 2022, 11:13:06 AM
The move process could be improved if our client could DE-ACTIVATE on the old computer without needing to get PVXPlus involved.
Currently the PVXPlus activation server must be changed to a MOVE mode for the client to DE-ACTIVATE.
Currently the PVXPlus activation server must be changed to a MOVE mode for the client to DE-ACTIVATE.
#8
Thin Client/WindX / Re: winndx icacls.exe interupt
January 12, 2022, 10:47:21 AM
Solved problem.
Windx was installed in a folder called: "C:\windx\"
removed this and re-installed to the Pvxplus default folder.
All working OK now.
Must have been an old registry entry that was preventing access.
Windx was installed in a folder called: "C:\windx\"
removed this and re-installed to the Pvxplus default folder.
All working OK now.
Must have been an old registry entry that was preventing access.
#9
Thin Client/WindX / winndx icacls.exe interupt
January 09, 2022, 07:41:48 PM
When launching windx cs, windows is prompting to allow authorization to run "icacls.exe"
This is something new.
Anyone know why this is happening and how to prevent it?
This is something new.
Anyone know why this is happening and how to prevent it?
#10
Off Topic / Re: T4 Parser
February 09, 2021, 08:09:00 AM
Just for information...
We ended up using a utility called "XMLmind" XML editor.
This editor can validate T4 & T4A files for Revenue Canada submission; using the CRA SCHEMA files.
We ended up using a utility called "XMLmind" XML editor.
This editor can validate T4 & T4A files for Revenue Canada submission; using the CRA SCHEMA files.
#11
Off Topic / Re: T4 Parser
February 01, 2021, 01:26:19 PM
I to validate the XML file using the Schema provided by CRA.
#12
What validation parser can anyone recommend to use for validating a T4 XML file for CRA, in Canada?
#13
Language / Re: pdf on server
April 23, 2020, 04:50:24 PM
I was trying to avoid copying it to the local drive... But i think this will work best.
Thanks
Thanks
#14
Language / Re: pdf on server
April 23, 2020, 01:45:47 PM
If we use "SYSTEM_HELP FILE.pdf" will it try to open on the server or on the client.