Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

7 May, 2024: fms is rebuilding. Don't expect much in that section for quite a few days, maybe longer.


devel / comp.lang.xharbour / upload json/download xlsx file to/from www.xxx.co.xx

SubjectAuthor
* upload json/download xlsx file to/from www.xxx.co.xxtimepro timesheet
`* Re: upload json/download xlsx file to/from www.xxx.co.xxtimepro timesheet
 +- Re: upload json/download xlsx file to/from www.xxx.co.xxtimepro timesheet
 `* Re: upload json/download xlsx file to/from www.xxx.co.xxtimepro timesheet
  `* Re: upload json/download xlsx file to/from www.xxx.co.xxtimepro timesheet
   `* Re: upload json/download xlsx file to/from www.xxx.co.xxtimepro timesheet
    `* Re: upload json/download xlsx file to/from www.xxx.co.xxEnrico Maria Giordano
     `* Re: upload json/download xlsx file to/from www.xxx.co.xxDan
      `* Re: upload json/download xlsx file to/from www.xxx.co.xxtimepro timesheet
       +- Re: upload json/download xlsx file to/from www.xxx.co.xxEnrico Maria Giordano
       `* Re: upload json/download xlsx file to/from www.xxx.co.xxDan
        `* Re: upload json/download xlsx file to/from www.xxx.co.xxElla Stern
         `* Re: upload json/download xlsx file to/from www.xxx.co.xxLailton Fernando Mariano
          `* Re: upload json/download xlsx file to/from www.xxx.co.xxtimepro timesheet
           +- Re: upload json/download xlsx file to/from www.xxx.co.xxLailton Fernando Mariano
           `* Re: upload json/download xlsx file to/from www.xxx.co.xxtimepro timesheet
            `* Re: upload json/download xlsx file to/from www.xxx.co.xxLailton Fernando Mariano
             `* Re: upload json/download xlsx file to/from www.xxx.co.xxtimepro timesheet
              `* Re: upload json/download xlsx file to/from www.xxx.co.xxLailton Fernando Mariano
               `* Re: upload json/download xlsx file to/from www.xxx.co.xxtimepro timesheet
                `- Re: upload json/download xlsx file to/from www.xxx.co.xxLailton Fernando Mariano

1
upload json/download xlsx file to/from www.xxx.co.xx

<d8029d43-f244-45f7-86b6-3d84c57e1901n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17073&group=comp.lang.xharbour#17073

  copy link   Newsgroups: comp.lang.xharbour
X-Received: by 2002:a05:622a:14cd:b0:344:6cfa:42f9 with SMTP id u13-20020a05622a14cd00b003446cfa42f9mr26668637qtx.147.1662087144460;
Thu, 01 Sep 2022 19:52:24 -0700 (PDT)
X-Received: by 2002:a25:71c4:0:b0:69b:6664:410f with SMTP id
m187-20020a2571c4000000b0069b6664410fmr17142051ybc.253.1662087144208; Thu, 01
Sep 2022 19:52:24 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.xharbour
Date: Thu, 1 Sep 2022 19:52:24 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=96.242.45.184; posting-account=jZAeNwoAAABYWjMRM-FfqKkHfC3Iph0l
NNTP-Posting-Host: 96.242.45.184
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <d8029d43-f244-45f7-86b6-3d84c57e1901n@googlegroups.com>
Subject: upload json/download xlsx file to/from www.xxx.co.xx
From: timecosting@gmail.com (timepro timesheet)
Injection-Date: Fri, 02 Sep 2022 02:52:24 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2086
 by: timepro timesheet - Fri, 2 Sep 2022 02:52 UTC

hi:

my app is in xhb+dbf+ps32+wvw

from my app's billing screen, user selects an invoice (e.g. inv#:'ABC_1234/22-23' record# 44892), clicks on 'make-json' (menu to prom) to create a .json file of that invoice (jfile).
e.g. jfile=diskname()+':\TAX\INVOICE\JSON_OUT\'+jsonfilename.json
-this process is already coded & running proper.

now, can this be programmed from within my app:
1. open www.xxx.co.xx (predefined variable)
2. login with username,password & the 'captcha' (user,psw are predefined)
3. open/click the specific 'bulk-upload' tab (in the opened www.xxx.co.xx)
4. upload the 'jfile'
-www.xxx.co.xx will now validate & generate a file (embedded with qrc) to be downloaded. (options: xlsx / json / xml / zip)
5. download/save the generated 'xlsx' file (e.g. ABC_123.XLSX) to diskname()+':\TAX\INVOICE\JSON_IN folder
6. replace 'qrc_xls' field with ABC_123.XLSX in record#44892 (INVTAX.DBF)

the user does not have to click/hit any key.
(all this time, the screen would 'continue' to show inv# ABC_1234/22-23 details.)

thank you

Re: upload json/download xlsx file to/from www.xxx.co.xx

<f35753af-a56f-4bdd-a7b1-dd628d5e78a3n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17074&group=comp.lang.xharbour#17074

  copy link   Newsgroups: comp.lang.xharbour
X-Received: by 2002:a05:622a:155:b0:344:9cf8:8929 with SMTP id v21-20020a05622a015500b003449cf88929mr28904350qtw.376.1662142469226;
Fri, 02 Sep 2022 11:14:29 -0700 (PDT)
X-Received: by 2002:a81:a48:0:b0:345:439:3444 with SMTP id 69-20020a810a48000000b0034504393444mr675247ywk.78.1662142468859;
Fri, 02 Sep 2022 11:14:28 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border-2.nntp.ord.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.xharbour
Date: Fri, 2 Sep 2022 11:14:28 -0700 (PDT)
In-Reply-To: <d8029d43-f244-45f7-86b6-3d84c57e1901n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=96.242.45.184; posting-account=jZAeNwoAAABYWjMRM-FfqKkHfC3Iph0l
NNTP-Posting-Host: 96.242.45.184
References: <d8029d43-f244-45f7-86b6-3d84c57e1901n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <f35753af-a56f-4bdd-a7b1-dd628d5e78a3n@googlegroups.com>
Subject: Re: upload json/download xlsx file to/from www.xxx.co.xx
From: timecosting@gmail.com (timepro timesheet)
Injection-Date: Fri, 02 Sep 2022 18:14:29 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 49
 by: timepro timesheet - Fri, 2 Sep 2022 18:14 UTC

On Friday, September 2, 2022 at 8:22:25 AM UTC+5:30, timepro timesheet wrote:
> hi:
>
> my app is in xhb+dbf+ps32+wvw
>
> from my app's billing screen, user selects an invoice (e.g. inv#:'ABC_1234/22-23' record# 44892), clicks on 'make-json' (menu to prom) to create a .json file of that invoice (jfile).
> e.g. jfile=diskname()+':\TAX\INVOICE\JSON_OUT\'+jsonfilename.json
> -this process is already coded & running proper.
>
> now, can this be programmed from within my app:
> 1. open www.xxx.co.xx (predefined variable)
> 2. login with username,password & the 'captcha' (user,psw are predefined)
> 3. open/click the specific 'bulk-upload' tab (in the opened www.xxx.co.xx)
> 4. upload the 'jfile'
> -www.xxx.co.xx will now validate & generate a file (embedded with qrc) to be downloaded. (options: xlsx / json / xml / zip)
> 5. download/save the generated 'xlsx' file (e.g. ABC_123.XLSX) to diskname()+':\TAX\INVOICE\JSON_IN folder
> 6. replace 'qrc_xls' field with ABC_123.XLSX in record#44892 (INVTAX.DBF)
>
> the user does not have to click/hit any key.
> (all this time, the screen would 'continue' to show inv# ABC_1234/22-23 details.)
>
> thank you

hello all:

upon scouring & poring over various threads, i managed to reached here:
(this is the first, am experimenting/coding with: turl, cPassword, tipclienthttp...)

oUrl := TUrl():new("http://xxxxx.tax.gov.xx") && how to 'httpS' in place of 'http'
oUrl:cUserId := "myname"
oUrl:cPassword := "mypass1234"
oConn:=TipClientHttp():New(oUrl,.t.)
//IF oConn:Open()
//cPageContent:=oConn:ReadAll() && len(cPageContent) returns 0
//oConn:Close()
//ENDIF

-how to auto login with cUserId & cPassword. (also how to validate if userid/password are valid)
after successful login (http://xxxxx.tax.gov.xx)
a] how to get the specific 'bulk-upload' tab opened/activated/clicked (it asks file to be uploaded)

b] how to get my jfile.json uploaded.

c] post validation, how to download the generated .xlsx file to diskname()+':'\folder\subfolder2\downloadedfilename.xlsx
OR
after a] & b], the user would download the generated (.xlsx) file manually.
(for this http://xxxxx.tax.gov.xx has to be open/visible on screen - mouse over the 'download-file' link)

thank you

Re: upload json/download xlsx file to/from www.xxx.co.xx

<46d61eff-ba8f-4d65-8559-ca5c76a5390cn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17075&group=comp.lang.xharbour#17075

  copy link   Newsgroups: comp.lang.xharbour
X-Received: by 2002:ac8:57ce:0:b0:344:ad3e:cb16 with SMTP id w14-20020ac857ce000000b00344ad3ecb16mr33063834qta.214.1662221000688;
Sat, 03 Sep 2022 09:03:20 -0700 (PDT)
X-Received: by 2002:a81:86c2:0:b0:332:a104:f7e4 with SMTP id
w185-20020a8186c2000000b00332a104f7e4mr32541951ywf.505.1662221000382; Sat, 03
Sep 2022 09:03:20 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.xharbour
Date: Sat, 3 Sep 2022 09:03:20 -0700 (PDT)
In-Reply-To: <f35753af-a56f-4bdd-a7b1-dd628d5e78a3n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=96.242.45.184; posting-account=jZAeNwoAAABYWjMRM-FfqKkHfC3Iph0l
NNTP-Posting-Host: 96.242.45.184
References: <d8029d43-f244-45f7-86b6-3d84c57e1901n@googlegroups.com> <f35753af-a56f-4bdd-a7b1-dd628d5e78a3n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <46d61eff-ba8f-4d65-8559-ca5c76a5390cn@googlegroups.com>
Subject: Re: upload json/download xlsx file to/from www.xxx.co.xx
From: timecosting@gmail.com (timepro timesheet)
Injection-Date: Sat, 03 Sep 2022 16:03:20 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 4473
 by: timepro timesheet - Sat, 3 Sep 2022 16:03 UTC

On Friday, September 2, 2022 at 11:44:29 PM UTC+5:30, timepro timesheet wrote:
> On Friday, September 2, 2022 at 8:22:25 AM UTC+5:30, timepro timesheet wrote:
> > hi:
> >
> > my app is in xhb+dbf+ps32+wvw
> >
> > from my app's billing screen, user selects an invoice (e.g. inv#:'ABC_1234/22-23' record# 44892), clicks on 'make-json' (menu to prom) to create a .json file of that invoice (jfile).
> > e.g. jfile=diskname()+':\TAX\INVOICE\JSON_OUT\'+jsonfilename.json
> > -this process is already coded & running proper.
> >
> > now, can this be programmed from within my app:
> > 1. open www.xxx.co.xx (predefined variable)
> > 2. login with username,password & the 'captcha' (user,psw are predefined)
> > 3. open/click the specific 'bulk-upload' tab (in the opened www.xxx.co.xx)
> > 4. upload the 'jfile'
> > -www.xxx.co.xx will now validate & generate a file (embedded with qrc) to be downloaded. (options: xlsx / json / xml / zip)
> > 5. download/save the generated 'xlsx' file (e.g. ABC_123.XLSX) to diskname()+':\TAX\INVOICE\JSON_IN folder
> > 6. replace 'qrc_xls' field with ABC_123.XLSX in record#44892 (INVTAX.DBF)
> >
> > the user does not have to click/hit any key.
> > (all this time, the screen would 'continue' to show inv# ABC_1234/22-23 details.)
> >
> > thank you
> hello all:
>
> upon scouring & poring over various threads, i managed to reached here:
> (this is the first, am experimenting/coding with: turl, cPassword, tipclienthttp...)
>
> oUrl := TUrl():new("http://xxxxx.tax.gov.xx")" rel="nofollow" target="_blank">http://xxxxx.tax.gov.xx") && how to 'httpS' in place of 'http'
> oUrl:cUserId := "myname"
> oUrl:cPassword := "mypass1234"
> oConn:=TipClientHttp():New(oUrl,.t.)
> //IF oConn:Open()
> //cPageContent:=oConn:ReadAll() && len(cPageContent) returns 0
> //oConn:Close()
> //ENDIF
>
> -how to auto login with cUserId & cPassword. (also how to validate if userid/password are valid)
> after successful login (http://xxxxx.tax.gov.xx)
> a] how to get the specific 'bulk-upload' tab opened/activated/clicked (it asks file to be uploaded)
>
> b] how to get my jfile.json uploaded.
>
> c] post validation, how to download the generated .xlsx file to diskname()+':'\folder\subfolder2\downloadedfilename.xlsx
> OR
> after a] & b], the user would download the generated (.xlsx) file manually.
> (for this http://xxxxx.tax.gov.xx has to be open/visible on screen - mouse over the 'download-file' link)
>
> thank you

for most of you, it's easy-peasy, but i am an average skilled programmer.
(pre-xhb) used to code in clipper. (i don't now what i don't know)

please would any of the xhb gurus indulge me with the syntax/command for:
************************************
function loginwebsite_touploadfile
************************************
1. open 'https://websiteaddress' from inside by app's invoicing screen. (xhb+wvw+dbf+ps32)
2. once site open, auto-login with userid,password,'captcha' (userid, password are predefined)
3. open/clickon specific 'bulk-upload' tab (in the logged https://websiteaddress)
-in the logged site, the user will browse & manually upload/download the json/xlsx file-
(return to the invoicing screen, on exiting websiteaddress)
*eofunc

thank you

Re: upload json/download xlsx file to/from www.xxx.co.xx

<5f626060-0514-42a3-b1a9-4a8fc8c98e72n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17076&group=comp.lang.xharbour#17076

  copy link   Newsgroups: comp.lang.xharbour
X-Received: by 2002:ae9:e404:0:b0:6bb:d8c0:381c with SMTP id q4-20020ae9e404000000b006bbd8c0381cmr27421407qkc.459.1662221282184;
Sat, 03 Sep 2022 09:08:02 -0700 (PDT)
X-Received: by 2002:a81:f10:0:b0:345:107d:c71f with SMTP id
16-20020a810f10000000b00345107dc71fmr2022586ywp.435.1662221281922; Sat, 03
Sep 2022 09:08:01 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.xharbour
Date: Sat, 3 Sep 2022 09:08:01 -0700 (PDT)
In-Reply-To: <f35753af-a56f-4bdd-a7b1-dd628d5e78a3n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=96.242.45.184; posting-account=jZAeNwoAAABYWjMRM-FfqKkHfC3Iph0l
NNTP-Posting-Host: 96.242.45.184
References: <d8029d43-f244-45f7-86b6-3d84c57e1901n@googlegroups.com> <f35753af-a56f-4bdd-a7b1-dd628d5e78a3n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <5f626060-0514-42a3-b1a9-4a8fc8c98e72n@googlegroups.com>
Subject: Re: upload json/download xlsx file to/from www.xxx.co.xx
From: timecosting@gmail.com (timepro timesheet)
Injection-Date: Sat, 03 Sep 2022 16:08:02 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 4450
 by: timepro timesheet - Sat, 3 Sep 2022 16:08 UTC

On Friday, September 2, 2022 at 11:44:29 PM UTC+5:30, timepro timesheet wrote:
> On Friday, September 2, 2022 at 8:22:25 AM UTC+5:30, timepro timesheet wrote:
> > hi:
> >
> > my app is in xhb+dbf+ps32+wvw
> >
> > from my app's billing screen, user selects an invoice (e.g. inv#:'ABC_1234/22-23' record# 44892), clicks on 'make-json' (menu to prom) to create a .json file of that invoice (jfile).
> > e.g. jfile=diskname()+':\TAX\INVOICE\JSON_OUT\'+jsonfilename.json
> > -this process is already coded & running proper.
> >
> > now, can this be programmed from within my app:
> > 1. open www.xxx.co.xx (predefined variable)
> > 2. login with username,password & the 'captcha' (user,psw are predefined)
> > 3. open/click the specific 'bulk-upload' tab (in the opened www.xxx.co.xx)
> > 4. upload the 'jfile'
> > -www.xxx.co.xx will now validate & generate a file (embedded with qrc) to be downloaded. (options: xlsx / json / xml / zip)
> > 5. download/save the generated 'xlsx' file (e.g. ABC_123.XLSX) to diskname()+':\TAX\INVOICE\JSON_IN folder
> > 6. replace 'qrc_xls' field with ABC_123.XLSX in record#44892 (INVTAX.DBF)
> >
> > the user does not have to click/hit any key.
> > (all this time, the screen would 'continue' to show inv# ABC_1234/22-23 details.)
> >
> > thank you
> hello all:
>
> upon scouring & poring over various threads, i managed to reached here:
> (this is the first, am experimenting/coding with: turl, cPassword, tipclienthttp...)
>
> oUrl := TUrl():new("http://xxxxx.tax.gov.xx")" rel="nofollow" target="_blank">http://xxxxx.tax.gov.xx") && how to 'httpS' in place of 'http'
> oUrl:cUserId := "myname"
> oUrl:cPassword := "mypass1234"
> oConn:=TipClientHttp():New(oUrl,.t.)
> //IF oConn:Open()
> //cPageContent:=oConn:ReadAll() && len(cPageContent) returns 0
> //oConn:Close()
> //ENDIF
>
> -how to auto login with cUserId & cPassword. (also how to validate if userid/password are valid)
> after successful login (http://xxxxx.tax.gov.xx)
> a] how to get the specific 'bulk-upload' tab opened/activated/clicked (it asks file to be uploaded)
>
> b] how to get my jfile.json uploaded.
>
> c] post validation, how to download the generated .xlsx file to diskname()+':'\folder\subfolder2\downloadedfilename.xlsx
> OR
> after a] & b], the user would download the generated (.xlsx) file manually.
> (for this http://xxxxx.tax.gov.xx has to be open/visible on screen - mouse over the 'download-file' link)
>
> thank you

for most of you, it's easy-peasy, but i am an average skilled programmer.
(pre-xhb) used to code in clipper. ('i don't know what i don't know')

please would any of the xhb gurus assist me with the syntax/command for:
************************************
function loginwebsite_touploadfile
************************************
1. open 'https://websiteaddress' from inside by app's invoicing screen. (xhb+wvw+dbf+ps32)
2. auto-login with userid,password,'captcha' (userid, password are predefined)
3. open/clickon specific 'bulk-upload' tab (in the logged https://websiteaddress)
-in the logged site, the user will browse & manually upload/download the json/xlsx file-
(return to the invoicing screen, on exiting websiteaddress)
*eofunc

thank you

Re: upload json/download xlsx file to/from www.xxx.co.xx

<4f56d94f-1aaf-432b-8109-1f48eca2febdn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17083&group=comp.lang.xharbour#17083

  copy link   Newsgroups: comp.lang.xharbour
X-Received: by 2002:a05:622a:1303:b0:343:4d9b:46de with SMTP id v3-20020a05622a130300b003434d9b46demr21788248qtk.498.1662945271930;
Sun, 11 Sep 2022 18:14:31 -0700 (PDT)
X-Received: by 2002:a81:86c2:0:b0:332:a104:f7e4 with SMTP id
w185-20020a8186c2000000b00332a104f7e4mr20141972ywf.505.1662945271696; Sun, 11
Sep 2022 18:14:31 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.xharbour
Date: Sun, 11 Sep 2022 18:14:31 -0700 (PDT)
In-Reply-To: <5f626060-0514-42a3-b1a9-4a8fc8c98e72n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=96.242.45.184; posting-account=jZAeNwoAAABYWjMRM-FfqKkHfC3Iph0l
NNTP-Posting-Host: 96.242.45.184
References: <d8029d43-f244-45f7-86b6-3d84c57e1901n@googlegroups.com>
<f35753af-a56f-4bdd-a7b1-dd628d5e78a3n@googlegroups.com> <5f626060-0514-42a3-b1a9-4a8fc8c98e72n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <4f56d94f-1aaf-432b-8109-1f48eca2febdn@googlegroups.com>
Subject: Re: upload json/download xlsx file to/from www.xxx.co.xx
From: timecosting@gmail.com (timepro timesheet)
Injection-Date: Mon, 12 Sep 2022 01:14:31 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 5006
 by: timepro timesheet - Mon, 12 Sep 2022 01:14 UTC

On Saturday, September 3, 2022 at 9:38:02 PM UTC+5:30, timepro timesheet wrote:
> On Friday, September 2, 2022 at 11:44:29 PM UTC+5:30, timepro timesheet wrote:
> > On Friday, September 2, 2022 at 8:22:25 AM UTC+5:30, timepro timesheet wrote:
> > > hi:
> > >
> > > my app is in xhb+dbf+ps32+wvw
> > >
> > > from my app's billing screen, user selects an invoice (e.g. inv#:'ABC_1234/22-23' record# 44892), clicks on 'make-json' (menu to prom) to create a .json file of that invoice (jfile).
> > > e.g. jfile=diskname()+':\TAX\INVOICE\JSON_OUT\'+jsonfilename.json
> > > -this process is already coded & running proper.
> > >
> > > now, can this be programmed from within my app:
> > > 1. open www.xxx.co.xx (predefined variable)
> > > 2. login with username,password & the 'captcha' (user,psw are predefined)
> > > 3. open/click the specific 'bulk-upload' tab (in the opened www.xxx.co.xx)
> > > 4. upload the 'jfile'
> > > -www.xxx.co.xx will now validate & generate a file (embedded with qrc) to be downloaded. (options: xlsx / json / xml / zip)
> > > 5. download/save the generated 'xlsx' file (e.g. ABC_123.XLSX) to diskname()+':\TAX\INVOICE\JSON_IN folder
> > > 6. replace 'qrc_xls' field with ABC_123.XLSX in record#44892 (INVTAX.DBF)
> > >
> > > the user does not have to click/hit any key.
> > > (all this time, the screen would 'continue' to show inv# ABC_1234/22-23 details.)
> > >
> > > thank you
> > hello all:
> >
> > upon scouring & poring over various threads, i managed to reached here:
> > (this is the first, am experimenting/coding with: turl, cPassword, tipclienthttp...)
> >
> > oUrl := TUrl():new("http://xxxxx.tax.gov.xx")" rel="nofollow" target="_blank">http://xxxxx.tax.gov.xx") && how to 'httpS' in place of 'http'
> > oUrl:cUserId := "myname"
> > oUrl:cPassword := "mypass1234"
> > oConn:=TipClientHttp():New(oUrl,.t.)
> > //IF oConn:Open()
> > //cPageContent:=oConn:ReadAll() && len(cPageContent) returns 0
> > //oConn:Close()
> > //ENDIF
> >
> > -how to auto login with cUserId & cPassword. (also how to validate if userid/password are valid)
> > after successful login (http://xxxxx.tax.gov.xx)
> > a] how to get the specific 'bulk-upload' tab opened/activated/clicked (it asks file to be uploaded)
> >
> > b] how to get my jfile.json uploaded.
> >
> > c] post validation, how to download the generated .xlsx file to diskname()+':'\folder\subfolder2\downloadedfilename.xlsx
> > OR
> > after a] & b], the user would download the generated (.xlsx) file manually.
> > (for this http://xxxxx.tax.gov.xx has to be open/visible on screen - mouse over the 'download-file' link)
> >
> > thank you
> for most of you, it's easy-peasy, but i am an average skilled programmer.
> (pre-xhb) used to code in clipper. ('i don't know what i don't know')
>
> please would any of the xhb gurus assist me with the syntax/command for:

> ************************************
> function loginwebsite_touploadfile
> ************************************
> 1. open 'https://websiteaddress' from inside by app's invoicing screen. (xhb+wvw+dbf+ps32)
'https://websiteaddress' will open on the screen.
> 2. auto-login with userid,password,'captcha' (userid, password are predefined)
> 3. open/clickon specific 'bulk-upload' tab ('bulk-upload' would be a variable)
> -in the logged site, the user will browse & manually upload/download the json/xlsx file-
> (return to the invoicing screen, on exiting websiteaddress)
> *eofunc
>
> thank you

could someone/anyone program this 'PROFESSIONALLY'?. (with a .prg file source code)
for steps 1 & 2: us$100.
for steps 1 & 2 & 3: us$250.
(my app would just call your function with the relevant parameters).

Re: upload json/download xlsx file to/from www.xxx.co.xx

<adf3e59b-dd04-4004-8942-ef6be19737d2n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17086&group=comp.lang.xharbour#17086

  copy link   Newsgroups: comp.lang.xharbour
X-Received: by 2002:ac8:5bcd:0:b0:35b:b56d:b5 with SMTP id b13-20020ac85bcd000000b0035bb56d00b5mr2000277qtb.462.1663839518784;
Thu, 22 Sep 2022 02:38:38 -0700 (PDT)
X-Received: by 2002:a25:40c7:0:b0:6af:ee2:25aa with SMTP id
n190-20020a2540c7000000b006af0ee225aamr2698430yba.326.1663839518498; Thu, 22
Sep 2022 02:38:38 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.xharbour
Date: Thu, 22 Sep 2022 02:38:38 -0700 (PDT)
In-Reply-To: <4f56d94f-1aaf-432b-8109-1f48eca2febdn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=96.242.45.184; posting-account=jZAeNwoAAABYWjMRM-FfqKkHfC3Iph0l
NNTP-Posting-Host: 96.242.45.184
References: <d8029d43-f244-45f7-86b6-3d84c57e1901n@googlegroups.com>
<f35753af-a56f-4bdd-a7b1-dd628d5e78a3n@googlegroups.com> <5f626060-0514-42a3-b1a9-4a8fc8c98e72n@googlegroups.com>
<4f56d94f-1aaf-432b-8109-1f48eca2febdn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <adf3e59b-dd04-4004-8942-ef6be19737d2n@googlegroups.com>
Subject: Re: upload json/download xlsx file to/from www.xxx.co.xx
From: timecosting@gmail.com (timepro timesheet)
Injection-Date: Thu, 22 Sep 2022 09:38:38 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 5330
 by: timepro timesheet - Thu, 22 Sep 2022 09:38 UTC

On Monday, September 12, 2022 at 6:44:32 AM UTC+5:30, timepro timesheet wrote:
> On Saturday, September 3, 2022 at 9:38:02 PM UTC+5:30, timepro timesheet wrote:
> > On Friday, September 2, 2022 at 11:44:29 PM UTC+5:30, timepro timesheet wrote:
> > > On Friday, September 2, 2022 at 8:22:25 AM UTC+5:30, timepro timesheet wrote:
> > > > hi:
> > > >
> > > > my app is in xhb+dbf+ps32+wvw
> > > >
> > > > from my app's billing screen, user selects an invoice (e.g. inv#:'ABC_1234/22-23' record# 44892), clicks on 'make-json' (menu to prom) to create a .json file of that invoice (jfile).
> > > > e.g. jfile=diskname()+':\TAX\INVOICE\JSON_OUT\'+jsonfilename.json
> > > > -this process is already coded & running proper.
> > > >
> > > > now, can this be programmed from within my app:
> > > > 1. open www.xxx.co.xx (predefined variable)
> > > > 2. login with username,password & the 'captcha' (user,psw are predefined)
> > > > 3. open/click the specific 'bulk-upload' tab (in the opened www.xxx.co.xx)
> > > > 4. upload the 'jfile'
> > > > -www.xxx.co.xx will now validate & generate a file (embedded with qrc) to be downloaded. (options: xlsx / json / xml / zip)
> > > > 5. download/save the generated 'xlsx' file (e.g. ABC_123.XLSX) to diskname()+':\TAX\INVOICE\JSON_IN folder
> > > > 6. replace 'qrc_xls' field with ABC_123.XLSX in record#44892 (INVTAX.DBF)
> > > >
> > > > the user does not have to click/hit any key.
> > > > (all this time, the screen would 'continue' to show inv# ABC_1234/22-23 details.)
> > > >
> > > > thank you
> > > hello all:
> > >
> > > upon scouring & poring over various threads, i managed to reached here:
> > > (this is the first, am experimenting/coding with: turl, cPassword, tipclienthttp...)
> > >
> > > oUrl := TUrl():new("http://xxxxx.tax.gov.xx")" rel="nofollow" target="_blank">http://xxxxx.tax.gov.xx") && how to 'httpS' in place of 'http'
> > > oUrl:cUserId := "myname"
> > > oUrl:cPassword := "mypass1234"
> > > oConn:=TipClientHttp():New(oUrl,.t.)
> > > //IF oConn:Open()
> > > //cPageContent:=oConn:ReadAll() && len(cPageContent) returns 0
> > > //oConn:Close()
> > > //ENDIF
> > >
> > > -how to auto login with cUserId & cPassword. (also how to validate if userid/password are valid)
> > > after successful login (http://xxxxx.tax.gov.xx)
> > > a] how to get the specific 'bulk-upload' tab opened/activated/clicked (it asks file to be uploaded)
> > >
> > > b] how to get my jfile.json uploaded.
> > >
> > > c] post validation, how to download the generated .xlsx file to diskname()+':'\folder\subfolder2\downloadedfilename.xlsx
> > > OR
> > > after a] & b], the user would download the generated (.xlsx) file manually.
> > > (for this http://xxxxx.tax.gov.xx has to be open/visible on screen - mouse over the 'download-file' link)
> > >
> > > thank you
> > for most of you, it's easy-peasy, but i am an average skilled programmer.
> > (pre-xhb) used to code in clipper. ('i don't know what i don't know')
> >
> > please would any of the xhb gurus assist me with the syntax/command for:
>
> > ************************************
> > function loginwebsite_touploadfile
> > ************************************
> > 1. open 'https://websiteaddress' from inside by app's invoicing screen. (xhb+wvw+dbf+ps32)
> 'https://websiteaddress' will open on the screen.
> > 2. auto-login with userid,password,'captcha' (userid, password are predefined)
> > 3. open/clickon specific 'bulk-upload' tab ('bulk-upload' would be a variable)
> > -in the logged site, the user will browse & manually upload/download the json/xlsx file-
> > (return to the invoicing screen, on exiting websiteaddress)
> > *eofunc
> >
> > thank you
> could someone/anyone program this 'PROFESSIONALLY'?. (with a .prg file source code)
> for steps 1 & 2: us$100.
> for steps 1 & 2 & 3: us$250.
> (my app would just call your function with the relevant parameters).

ok, i will up the ante.
for step 1 & 2: us$300.00.

Re: upload json/download xlsx file to/from www.xxx.co.xx

<tghfkq$2451c$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17087&group=comp.lang.xharbour#17087

  copy link   Newsgroups: comp.lang.xharbour
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: e.m.giordano@emagsoftware.it (Enrico Maria Giordano)
Newsgroups: comp.lang.xharbour
Subject: Re: upload json/download xlsx file to/from www.xxx.co.xx
Date: Thu, 22 Sep 2022 13:07:10 +0200
Organization: A noiseless patient Spider
Lines: 15
Message-ID: <tghfkq$2451c$1@dont-email.me>
References: <d8029d43-f244-45f7-86b6-3d84c57e1901n@googlegroups.com>
<f35753af-a56f-4bdd-a7b1-dd628d5e78a3n@googlegroups.com>
<5f626060-0514-42a3-b1a9-4a8fc8c98e72n@googlegroups.com>
<4f56d94f-1aaf-432b-8109-1f48eca2febdn@googlegroups.com>
<adf3e59b-dd04-4004-8942-ef6be19737d2n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 22 Sep 2022 11:07:06 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="f4d1c9a16d837c63a8c5eb3bab6d0038";
logging-data="2233388"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/5DFxBoMKMixz7ApKancTA"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.3.0
Cancel-Lock: sha1:WkNwneyOBB5FprJ3Uwu34DFqb7U=
In-Reply-To: <adf3e59b-dd04-4004-8942-ef6be19737d2n@googlegroups.com>
 by: Enrico Maria Giordan - Thu, 22 Sep 2022 11:07 UTC

Il 22/09/2022 11:38, timepro timesheet ha scritto:

> 2. auto-login with userid,password,'captcha' (userid, password are predefined)

The problem is the point 2. I don't think it is so easy or possible at all.

--
Enrico Maria Giordano

http://www.emagsoftware.it
http://www.emagsoftware.it/emgmusic
http://www.emagsoftware.it/spectrum
http://www.emagsoftware.it/tbosg

Re: upload json/download xlsx file to/from www.xxx.co.xx

<tghqfq$261on$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17088&group=comp.lang.xharbour#17088

  copy link   Newsgroups: comp.lang.xharbour
Path: i2pn2.org!i2pn.org!aioe.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: webmaster@appliserver.com (Dan)
Newsgroups: comp.lang.xharbour
Subject: Re: upload json/download xlsx file to/from www.xxx.co.xx
Date: Thu, 22 Sep 2022 16:12:07 +0200
Organization: A noiseless patient Spider
Lines: 15
Message-ID: <tghqfq$261on$1@dont-email.me>
References: <d8029d43-f244-45f7-86b6-3d84c57e1901n@googlegroups.com>
<f35753af-a56f-4bdd-a7b1-dd628d5e78a3n@googlegroups.com>
<5f626060-0514-42a3-b1a9-4a8fc8c98e72n@googlegroups.com>
<4f56d94f-1aaf-432b-8109-1f48eca2febdn@googlegroups.com>
<adf3e59b-dd04-4004-8942-ef6be19737d2n@googlegroups.com>
<tghfkq$2451c$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 22 Sep 2022 14:12:10 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="c1a5324ca11e5b4f559b153020645876";
logging-data="2295575"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/EqN9X6RDbQ2bF3+phA3TT"
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:91.0) Gecko/20100101
Thunderbird/91.13.0
Cancel-Lock: sha1:psjLC18Gt9c9/IC00DcFTEihAHs=
In-Reply-To: <tghfkq$2451c$1@dont-email.me>
 by: Dan - Thu, 22 Sep 2022 14:12 UTC

Il 22/09/2022 13:07, Enrico Maria Giordano ha scritto:
> Il 22/09/2022 11:38, timepro timesheet ha scritto:
>
>> 2. auto-login with userid,password,'captcha' (userid, password are
>> predefined)
>
> The problem is the point 2. I don't think it is so easy or possible at all.
>
Agreed. How to decode a captcha? The only way is to download the image,
pass it to an OCR and read the output. While I have a program that does
something similar, captcha is made exactly to avoid such a solution: the
OCR would be fooled by the messy image.
So, no way to overcome it, IMHO.

Dan

Re: upload json/download xlsx file to/from www.xxx.co.xx

<dc26a45b-d4a2-4d3d-9695-823d1fcd853en@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17089&group=comp.lang.xharbour#17089

  copy link   Newsgroups: comp.lang.xharbour
X-Received: by 2002:a05:620a:219a:b0:6ce:4164:e22c with SMTP id g26-20020a05620a219a00b006ce4164e22cmr2520987qka.214.1663860828323;
Thu, 22 Sep 2022 08:33:48 -0700 (PDT)
X-Received: by 2002:a25:380a:0:b0:6b0:1035:5714 with SMTP id
f10-20020a25380a000000b006b010355714mr4503548yba.73.1663860828019; Thu, 22
Sep 2022 08:33:48 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.xharbour
Date: Thu, 22 Sep 2022 08:33:47 -0700 (PDT)
In-Reply-To: <tghqfq$261on$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=96.242.45.184; posting-account=jZAeNwoAAABYWjMRM-FfqKkHfC3Iph0l
NNTP-Posting-Host: 96.242.45.184
References: <d8029d43-f244-45f7-86b6-3d84c57e1901n@googlegroups.com>
<f35753af-a56f-4bdd-a7b1-dd628d5e78a3n@googlegroups.com> <5f626060-0514-42a3-b1a9-4a8fc8c98e72n@googlegroups.com>
<4f56d94f-1aaf-432b-8109-1f48eca2febdn@googlegroups.com> <adf3e59b-dd04-4004-8942-ef6be19737d2n@googlegroups.com>
<tghfkq$2451c$1@dont-email.me> <tghqfq$261on$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <dc26a45b-d4a2-4d3d-9695-823d1fcd853en@googlegroups.com>
Subject: Re: upload json/download xlsx file to/from www.xxx.co.xx
From: timecosting@gmail.com (timepro timesheet)
Injection-Date: Thu, 22 Sep 2022 15:33:48 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2577
 by: timepro timesheet - Thu, 22 Sep 2022 15:33 UTC

On Thursday, September 22, 2022 at 7:42:12 PM UTC+5:30, Dan wrote:
> Il 22/09/2022 13:07, Enrico Maria Giordano ha scritto:
> > Il 22/09/2022 11:38, timepro timesheet ha scritto:
> >
> >> 2. auto-login with userid,password,'captcha' (userid, password are
> >> predefined)
> >
> > The problem is the point 2. I don't think it is so easy or possible at all.
> >
> Agreed. How to decode a captcha? The only way is to download the image,
> pass it to an OCR and read the output. While I have a program that does

> something similar, captcha is made exactly to avoid such a solution: the
> OCR would be fooled by the messy image.
> So, no way to overcome it, IMHO.
>
> Dan
enrico, dan thanks for the interest.

so, if not for the captcha, (from inside my app) can it be coded to: 'open a website, auto-login with userid & password'. (website, userid, password picked from a .dbf field).
the user could then manually type/validate the captcha. (on the open website page).
on exiting the website, return to my app's billing screen.

also, when enrico replied 'not possible', is it with xhb+wvw or with xhb+any lib...

Re: upload json/download xlsx file to/from www.xxx.co.xx

<tgi4rk$28fr5$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17090&group=comp.lang.xharbour#17090

  copy link   Newsgroups: comp.lang.xharbour
Path: i2pn2.org!i2pn.org!aioe.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: e.m.giordano@emagsoftware.it (Enrico Maria Giordano)
Newsgroups: comp.lang.xharbour
Subject: Re: upload json/download xlsx file to/from www.xxx.co.xx
Date: Thu, 22 Sep 2022 19:09:12 +0200
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <tgi4rk$28fr5$1@dont-email.me>
References: <d8029d43-f244-45f7-86b6-3d84c57e1901n@googlegroups.com>
<f35753af-a56f-4bdd-a7b1-dd628d5e78a3n@googlegroups.com>
<5f626060-0514-42a3-b1a9-4a8fc8c98e72n@googlegroups.com>
<4f56d94f-1aaf-432b-8109-1f48eca2febdn@googlegroups.com>
<adf3e59b-dd04-4004-8942-ef6be19737d2n@googlegroups.com>
<tghfkq$2451c$1@dont-email.me> <tghqfq$261on$1@dont-email.me>
<dc26a45b-d4a2-4d3d-9695-823d1fcd853en@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 22 Sep 2022 17:09:08 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="f4d1c9a16d837c63a8c5eb3bab6d0038";
logging-data="2375525"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+TAhmXp2/K6QV4FgMrAssr"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.3.0
Cancel-Lock: sha1:AXdhGqxSxk0mQd4ezd9tq7Nnp/Y=
In-Reply-To: <dc26a45b-d4a2-4d3d-9695-823d1fcd853en@googlegroups.com>
 by: Enrico Maria Giordan - Thu, 22 Sep 2022 17:09 UTC

Il 22/09/2022 17:33, timepro timesheet ha scritto:

> so, if not for the captcha, (from inside my app) can it be coded to: 'open a website, auto-login with userid & password'. (website, userid, password picked from a .dbf field).

There is no standard procedure that can do that. It could still be
impossible.

--
Enrico Maria Giordano

http://www.emagsoftware.it
http://www.emagsoftware.it/emgmusic
http://www.emagsoftware.it/spectrum
http://www.emagsoftware.it/tbosg

Re: upload json/download xlsx file to/from www.xxx.co.xx

<tgi5f6$28o8g$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17091&group=comp.lang.xharbour#17091

  copy link   Newsgroups: comp.lang.xharbour
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: webmaster@appliserver.com (Dan)
Newsgroups: comp.lang.xharbour
Subject: Re: upload json/download xlsx file to/from www.xxx.co.xx
Date: Thu, 22 Sep 2022 19:19:31 +0200
Organization: A noiseless patient Spider
Lines: 47
Message-ID: <tgi5f6$28o8g$1@dont-email.me>
References: <d8029d43-f244-45f7-86b6-3d84c57e1901n@googlegroups.com>
<f35753af-a56f-4bdd-a7b1-dd628d5e78a3n@googlegroups.com>
<5f626060-0514-42a3-b1a9-4a8fc8c98e72n@googlegroups.com>
<4f56d94f-1aaf-432b-8109-1f48eca2febdn@googlegroups.com>
<adf3e59b-dd04-4004-8942-ef6be19737d2n@googlegroups.com>
<tghfkq$2451c$1@dont-email.me> <tghqfq$261on$1@dont-email.me>
<dc26a45b-d4a2-4d3d-9695-823d1fcd853en@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 22 Sep 2022 17:19:35 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="c1a5324ca11e5b4f559b153020645876";
logging-data="2384144"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18vKtsz+04EQerO49gVg+Xd"
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:91.0) Gecko/20100101
Thunderbird/91.13.0
Cancel-Lock: sha1:IoQ+XFRy2mUjj7cCNVqv3UIVKRo=
In-Reply-To: <dc26a45b-d4a2-4d3d-9695-823d1fcd853en@googlegroups.com>
 by: Dan - Thu, 22 Sep 2022 17:19 UTC

Il 22/09/2022 17:33, timepro timesheet ha scritto:
> On Thursday, September 22, 2022 at 7:42:12 PM UTC+5:30, Dan wrote:
>> Il 22/09/2022 13:07, Enrico Maria Giordano ha scritto:
>>> Il 22/09/2022 11:38, timepro timesheet ha scritto:
>>>
>>>> 2. auto-login with userid,password,'captcha' (userid, password are
>>>> predefined)
>>>
>>> The problem is the point 2. I don't think it is so easy or possible at all.
>>>
>> Agreed. How to decode a captcha? The only way is to download the image,
>> pass it to an OCR and read the output. While I have a program that does
>
>> something similar, captcha is made exactly to avoid such a solution: the
>> OCR would be fooled by the messy image.
>> So, no way to overcome it, IMHO.
>>
>> Dan
> enrico, dan thanks for the interest.
>
> so, if not for the captcha, (from inside my app) can it be coded to: 'open a website, auto-login with userid & password'. (website, userid, password picked from a .dbf field).
> the user could then manually type/validate the captcha. (on the open website page).
> on exiting the website, return to my app's billing screen.
>
> also, when enrico replied 'not possible', is it with xhb+wvw or with xhb+any lib...

I think that to open the page with the browser is easy, but to interact
with the page isn't. How to automagically compile the fields user/passw?
Once the browser starts, you have no control on it, if not via OLE. The
only thing I tried has been: open the page, print it, close. Not very
much... And it worked only with IE.

Oh, and don't think to load the page in a IFRAME (or FRAME) inside a
local page carefully crafted (=with a script that modifies the
FRAME/IFRAME content). This is forbidden if the loaded page is not in
the same domain of the local page (cross-domain policy). Years ago I
studied the problem and tried some hacks, but to no avail. Google
"script injection" if you are interested. Recent improvement in
browser's security make the thing even more difficult at present.

One solution could be to download the page (quite easy with xHarbour),
modify the HTML (now the page is simply a text file on your PC),
injecting a script able to compile the controls (a bit less easy), then
open in the browser the modified page that should result pre-compiled.
Unsure, however. Never tried such a thing.

Dan

Re: upload json/download xlsx file to/from www.xxx.co.xx

<413ffe24-069c-40ee-9235-d72b9486afden@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17092&group=comp.lang.xharbour#17092

  copy link   Newsgroups: comp.lang.xharbour
X-Received: by 2002:a05:6214:29e8:b0:4ad:8cb6:9d39 with SMTP id jv8-20020a05621429e800b004ad8cb69d39mr1764413qvb.20.1663870315220;
Thu, 22 Sep 2022 11:11:55 -0700 (PDT)
X-Received: by 2002:a25:ec03:0:b0:6b5:1bc8:b833 with SMTP id
j3-20020a25ec03000000b006b51bc8b833mr3990006ybh.292.1663870314917; Thu, 22
Sep 2022 11:11:54 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.xharbour
Date: Thu, 22 Sep 2022 11:11:54 -0700 (PDT)
In-Reply-To: <tgi5f6$28o8g$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=82.78.22.198; posting-account=H3ofRwoAAADbRxQ3Wi989fFKCMQ4Av_J
NNTP-Posting-Host: 82.78.22.198
References: <d8029d43-f244-45f7-86b6-3d84c57e1901n@googlegroups.com>
<f35753af-a56f-4bdd-a7b1-dd628d5e78a3n@googlegroups.com> <5f626060-0514-42a3-b1a9-4a8fc8c98e72n@googlegroups.com>
<4f56d94f-1aaf-432b-8109-1f48eca2febdn@googlegroups.com> <adf3e59b-dd04-4004-8942-ef6be19737d2n@googlegroups.com>
<tghfkq$2451c$1@dont-email.me> <tghqfq$261on$1@dont-email.me>
<dc26a45b-d4a2-4d3d-9695-823d1fcd853en@googlegroups.com> <tgi5f6$28o8g$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <413ffe24-069c-40ee-9235-d72b9486afden@googlegroups.com>
Subject: Re: upload json/download xlsx file to/from www.xxx.co.xx
From: ellailona@gmail.com (Ella Stern)
Injection-Date: Thu, 22 Sep 2022 18:11:55 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 4906
 by: Ella Stern - Thu, 22 Sep 2022 18:11 UTC

On Thursday, September 22, 2022 at 8:19:36 PM UTC+3, Dan wrote:
> Il 22/09/2022 17:33, timepro timesheet ha scritto:
> > On Thursday, September 22, 2022 at 7:42:12 PM UTC+5:30, Dan wrote:
> >> Il 22/09/2022 13:07, Enrico Maria Giordano ha scritto:
> >>> Il 22/09/2022 11:38, timepro timesheet ha scritto:
> >>>
> >>>> 2. auto-login with userid,password,'captcha' (userid, password are
> >>>> predefined)
> >>>
> >>> The problem is the point 2. I don't think it is so easy or possible at all.
> >>>
> >> Agreed. How to decode a captcha? The only way is to download the image,
> >> pass it to an OCR and read the output. While I have a program that does
> >
> >> something similar, captcha is made exactly to avoid such a solution: the
> >> OCR would be fooled by the messy image.
> >> So, no way to overcome it, IMHO.
> >>
> >> Dan
> > enrico, dan thanks for the interest.
> >
> > so, if not for the captcha, (from inside my app) can it be coded to: 'open a website, auto-login with userid & password'. (website, userid, password picked from a .dbf field).
> > the user could then manually type/validate the captcha. (on the open website page).
> > on exiting the website, return to my app's billing screen.
> >
> > also, when enrico replied 'not possible', is it with xhb+wvw or with xhb+any lib...
> I think that to open the page with the browser is easy, but to interact
> with the page isn't. How to automagically compile the fields user/passw?
> Once the browser starts, you have no control on it, if not via OLE. The
> only thing I tried has been: open the page, print it, close. Not very
> much... And it worked only with IE.
>
> Oh, and don't think to load the page in a IFRAME (or FRAME) inside a
> local page carefully crafted (=with a script that modifies the
> FRAME/IFRAME content). This is forbidden if the loaded page is not in
> the same domain of the local page (cross-domain policy). Years ago I
> studied the problem and tried some hacks, but to no avail. Google
> "script injection" if you are interested. Recent improvement in
> browser's security make the thing even more difficult at present.
>
> One solution could be to download the page (quite easy with xHarbour),
> modify the HTML (now the page is simply a text file on your PC),
> injecting a script able to compile the controls (a bit less easy), then
> open in the browser the modified page that should result pre-compiled.
> Unsure, however. Never tried such a thing.
>
> Dan

If the login is done via GET request, the user and password are always URL parameters.
If the login is done via POST request, only JavaScript code can do it, browsers are not able to "post".
Anyway, you cannot open a local .html file generated dynamically by your desktop app (see Dan's comment), but you can call your own web app to do many more things for you.

And in order to get back to the desktop app there are needed three pieces of software:
- (A) a server-side function of the website, which is able to receive a call from the website frontend, and a call the desktop app
- (B) a function of the website frontend, which is calling (A) to notify it that the user is done with the website
- (C) a function of the desktop app, which is polling periodically (A) in order to check, that the user is done with the website, or not yet

Re: upload json/download xlsx file to/from www.xxx.co.xx

<4593a823-cb50-4a79-bfe3-c440d2a0a32en@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17093&group=comp.lang.xharbour#17093

  copy link   Newsgroups: comp.lang.xharbour
X-Received: by 2002:a05:6214:d0e:b0:4ad:5e35:329a with SMTP id 14-20020a0562140d0e00b004ad5e35329amr19840793qvh.28.1664255352759;
Mon, 26 Sep 2022 22:09:12 -0700 (PDT)
X-Received: by 2002:a0d:d881:0:b0:349:241c:b164 with SMTP id
a123-20020a0dd881000000b00349241cb164mr25342984ywe.372.1664255352401; Mon, 26
Sep 2022 22:09:12 -0700 (PDT)
Path: i2pn2.org!i2pn.org!news.nntp4.net!weretis.net!feeder6.news.weretis.net!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.xharbour
Date: Mon, 26 Sep 2022 22:09:12 -0700 (PDT)
In-Reply-To: <413ffe24-069c-40ee-9235-d72b9486afden@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=177.42.13.250; posting-account=GGC3sAoAAADFtzZRelQzYctflUXFDIpz
NNTP-Posting-Host: 177.42.13.250
References: <d8029d43-f244-45f7-86b6-3d84c57e1901n@googlegroups.com>
<f35753af-a56f-4bdd-a7b1-dd628d5e78a3n@googlegroups.com> <5f626060-0514-42a3-b1a9-4a8fc8c98e72n@googlegroups.com>
<4f56d94f-1aaf-432b-8109-1f48eca2febdn@googlegroups.com> <adf3e59b-dd04-4004-8942-ef6be19737d2n@googlegroups.com>
<tghfkq$2451c$1@dont-email.me> <tghqfq$261on$1@dont-email.me>
<dc26a45b-d4a2-4d3d-9695-823d1fcd853en@googlegroups.com> <tgi5f6$28o8g$1@dont-email.me>
<413ffe24-069c-40ee-9235-d72b9486afden@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <4593a823-cb50-4a79-bfe3-c440d2a0a32en@googlegroups.com>
Subject: Re: upload json/download xlsx file to/from www.xxx.co.xx
From: lailton@paysoft.com.br (Lailton Fernando Mariano)
Injection-Date: Tue, 27 Sep 2022 05:09:12 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 5696
 by: Lailton Fernando Mar - Tue, 27 Sep 2022 05:09 UTC

Em quinta-feira, 22 de setembro de 2022 às 11:11:56 UTC-7, Ella Stern escreveu:
> On Thursday, September 22, 2022 at 8:19:36 PM UTC+3, Dan wrote:
> > Il 22/09/2022 17:33, timepro timesheet ha scritto:
> > > On Thursday, September 22, 2022 at 7:42:12 PM UTC+5:30, Dan wrote:
> > >> Il 22/09/2022 13:07, Enrico Maria Giordano ha scritto:
> > >>> Il 22/09/2022 11:38, timepro timesheet ha scritto:
> > >>>
> > >>>> 2. auto-login with userid,password,'captcha' (userid, password are
> > >>>> predefined)
> > >>>
> > >>> The problem is the point 2. I don't think it is so easy or possible at all.
> > >>>
> > >> Agreed. How to decode a captcha? The only way is to download the image,
> > >> pass it to an OCR and read the output. While I have a program that does
> > >
> > >> something similar, captcha is made exactly to avoid such a solution: the
> > >> OCR would be fooled by the messy image.
> > >> So, no way to overcome it, IMHO.
> > >>
> > >> Dan
> > > enrico, dan thanks for the interest.
> > >
> > > so, if not for the captcha, (from inside my app) can it be coded to: 'open a website, auto-login with userid & password'. (website, userid, password picked from a .dbf field).
> > > the user could then manually type/validate the captcha. (on the open website page).
> > > on exiting the website, return to my app's billing screen.
> > >
> > > also, when enrico replied 'not possible', is it with xhb+wvw or with xhb+any lib...
> > I think that to open the page with the browser is easy, but to interact
> > with the page isn't. How to automagically compile the fields user/passw?
> > Once the browser starts, you have no control on it, if not via OLE. The
> > only thing I tried has been: open the page, print it, close. Not very
> > much... And it worked only with IE.
> >
> > Oh, and don't think to load the page in a IFRAME (or FRAME) inside a
> > local page carefully crafted (=with a script that modifies the
> > FRAME/IFRAME content). This is forbidden if the loaded page is not in
> > the same domain of the local page (cross-domain policy). Years ago I
> > studied the problem and tried some hacks, but to no avail. Google
> > "script injection" if you are interested. Recent improvement in
> > browser's security make the thing even more difficult at present.
> >
> > One solution could be to download the page (quite easy with xHarbour),
> > modify the HTML (now the page is simply a text file on your PC),
> > injecting a script able to compile the controls (a bit less easy), then
> > open in the browser the modified page that should result pre-compiled.
> > Unsure, however. Never tried such a thing.
> >
> > Dan
> If the login is done via GET request, the user and password are always URL parameters.
> If the login is done via POST request, only JavaScript code can do it, browsers are not able to "post".
> Anyway, you cannot open a local .html file generated dynamically by your desktop app (see Dan's comment), but you can call your own web app to do many more things for you.
>
> And in order to get back to the desktop app there are needed three pieces of software:
> - (A) a server-side function of the website, which is able to receive a call from the website frontend, and a call the desktop app
> - (B) a function of the website frontend, which is calling (A) to notify it that the user is done with the website
> - (C) a function of the desktop app, which is polling periodically (A) in order to check, that the user is done with the website, or not yet

Using CURL you can do something like that, the unique point like said before is the captcha, I recommend you download capcha image and show it around
fields that will request the user/password, then after you have it you can goto the next step.

Re: upload json/download xlsx file to/from www.xxx.co.xx

<75088efd-7f83-4b21-9dfd-1a5acdefe1een@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17094&group=comp.lang.xharbour#17094

  copy link   Newsgroups: comp.lang.xharbour
X-Received: by 2002:a05:620a:16b9:b0:6cd:ee77:4223 with SMTP id s25-20020a05620a16b900b006cdee774223mr18561871qkj.114.1664296305741;
Tue, 27 Sep 2022 09:31:45 -0700 (PDT)
X-Received: by 2002:a0d:d881:0:b0:349:241c:b164 with SMTP id
a123-20020a0dd881000000b00349241cb164mr27851135ywe.372.1664296305415; Tue, 27
Sep 2022 09:31:45 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.xharbour
Date: Tue, 27 Sep 2022 09:31:45 -0700 (PDT)
In-Reply-To: <4593a823-cb50-4a79-bfe3-c440d2a0a32en@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=96.242.45.184; posting-account=jZAeNwoAAABYWjMRM-FfqKkHfC3Iph0l
NNTP-Posting-Host: 96.242.45.184
References: <d8029d43-f244-45f7-86b6-3d84c57e1901n@googlegroups.com>
<f35753af-a56f-4bdd-a7b1-dd628d5e78a3n@googlegroups.com> <5f626060-0514-42a3-b1a9-4a8fc8c98e72n@googlegroups.com>
<4f56d94f-1aaf-432b-8109-1f48eca2febdn@googlegroups.com> <adf3e59b-dd04-4004-8942-ef6be19737d2n@googlegroups.com>
<tghfkq$2451c$1@dont-email.me> <tghqfq$261on$1@dont-email.me>
<dc26a45b-d4a2-4d3d-9695-823d1fcd853en@googlegroups.com> <tgi5f6$28o8g$1@dont-email.me>
<413ffe24-069c-40ee-9235-d72b9486afden@googlegroups.com> <4593a823-cb50-4a79-bfe3-c440d2a0a32en@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <75088efd-7f83-4b21-9dfd-1a5acdefe1een@googlegroups.com>
Subject: Re: upload json/download xlsx file to/from www.xxx.co.xx
From: timecosting@gmail.com (timepro timesheet)
Injection-Date: Tue, 27 Sep 2022 16:31:45 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 6217
 by: timepro timesheet - Tue, 27 Sep 2022 16:31 UTC

On Tuesday, September 27, 2022 at 10:39:13 AM UTC+5:30, lai...@paysoft.com.br wrote:
> Em quinta-feira, 22 de setembro de 2022 às 11:11:56 UTC-7, Ella Stern escreveu:
> > On Thursday, September 22, 2022 at 8:19:36 PM UTC+3, Dan wrote:
> > > Il 22/09/2022 17:33, timepro timesheet ha scritto:
> > > > On Thursday, September 22, 2022 at 7:42:12 PM UTC+5:30, Dan wrote:
> > > >> Il 22/09/2022 13:07, Enrico Maria Giordano ha scritto:
> > > >>> Il 22/09/2022 11:38, timepro timesheet ha scritto:
> > > >>>
> > > >>>> 2. auto-login with userid,password,'captcha' (userid, password are
> > > >>>> predefined)
> > > >>>
> > > >>> The problem is the point 2. I don't think it is so easy or possible at all.
> > > >>>
> > > >> Agreed. How to decode a captcha? The only way is to download the image,
> > > >> pass it to an OCR and read the output. While I have a program that does
> > > >
> > > >> something similar, captcha is made exactly to avoid such a solution: the
> > > >> OCR would be fooled by the messy image.
> > > >> So, no way to overcome it, IMHO.
> > > >>
> > > >> Dan
> > > > enrico, dan thanks for the interest.
> > > >
> > > > so, if not for the captcha, (from inside my app) can it be coded to: 'open a website, auto-login with userid & password'. (website, userid, password picked from a .dbf field).
> > > > the user could then manually type/validate the captcha. (on the open website page).
> > > > on exiting the website, return to my app's billing screen.
> > > >
> > > > also, when enrico replied 'not possible', is it with xhb+wvw or with xhb+any lib...
> > > I think that to open the page with the browser is easy, but to interact
> > > with the page isn't. How to automagically compile the fields user/passw?
> > > Once the browser starts, you have no control on it, if not via OLE. The
> > > only thing I tried has been: open the page, print it, close. Not very
> > > much... And it worked only with IE.
> > >
> > > Oh, and don't think to load the page in a IFRAME (or FRAME) inside a
> > > local page carefully crafted (=with a script that modifies the
> > > FRAME/IFRAME content). This is forbidden if the loaded page is not in
> > > the same domain of the local page (cross-domain policy). Years ago I
> > > studied the problem and tried some hacks, but to no avail. Google
> > > "script injection" if you are interested. Recent improvement in
> > > browser's security make the thing even more difficult at present.
> > >
> > > One solution could be to download the page (quite easy with xHarbour),
> > > modify the HTML (now the page is simply a text file on your PC),
> > > injecting a script able to compile the controls (a bit less easy), then
> > > open in the browser the modified page that should result pre-compiled..
> > > Unsure, however. Never tried such a thing.
> > >
> > > Dan
> > If the login is done via GET request, the user and password are always URL parameters.
> > If the login is done via POST request, only JavaScript code can do it, browsers are not able to "post".
> > Anyway, you cannot open a local .html file generated dynamically by your desktop app (see Dan's comment), but you can call your own web app to do many more things for you.
> >
> > And in order to get back to the desktop app there are needed three pieces of software:
> > - (A) a server-side function of the website, which is able to receive a call from the website frontend, and a call the desktop app
> > - (B) a function of the website frontend, which is calling (A) to notify it that the user is done with the website
> > - (C) a function of the desktop app, which is polling periodically (A) in order to check, that the user is done with the website, or not yet
> Using CURL you can do something like that, the unique point like said before is the captcha, I recommend you download capcha image and show it around
> fields that will request the user/password, then after you have it you can goto the next step.

emg, dan, ella, lai...@paysoft.com.br:

forget about 'captcha'. are you gurus saying even 'userid, password' (variables from a .dbf) 'just cannot' be autofilled from within my app. ?
(the user will type in the captcha)

thanks.

Re: upload json/download xlsx file to/from www.xxx.co.xx

<72999467-4ee5-4efa-8514-4d0e276d5180n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17095&group=comp.lang.xharbour#17095

  copy link   Newsgroups: comp.lang.xharbour
X-Received: by 2002:a05:622a:390:b0:35d:44ab:c615 with SMTP id j16-20020a05622a039000b0035d44abc615mr8133578qtx.594.1664313857508;
Tue, 27 Sep 2022 14:24:17 -0700 (PDT)
X-Received: by 2002:a81:5cb:0:b0:351:241e:ae3e with SMTP id
194-20020a8105cb000000b00351241eae3emr7675636ywf.515.1664313857107; Tue, 27
Sep 2022 14:24:17 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.xharbour
Date: Tue, 27 Sep 2022 14:24:16 -0700 (PDT)
In-Reply-To: <75088efd-7f83-4b21-9dfd-1a5acdefe1een@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=177.42.13.250; posting-account=GGC3sAoAAADFtzZRelQzYctflUXFDIpz
NNTP-Posting-Host: 177.42.13.250
References: <d8029d43-f244-45f7-86b6-3d84c57e1901n@googlegroups.com>
<f35753af-a56f-4bdd-a7b1-dd628d5e78a3n@googlegroups.com> <5f626060-0514-42a3-b1a9-4a8fc8c98e72n@googlegroups.com>
<4f56d94f-1aaf-432b-8109-1f48eca2febdn@googlegroups.com> <adf3e59b-dd04-4004-8942-ef6be19737d2n@googlegroups.com>
<tghfkq$2451c$1@dont-email.me> <tghqfq$261on$1@dont-email.me>
<dc26a45b-d4a2-4d3d-9695-823d1fcd853en@googlegroups.com> <tgi5f6$28o8g$1@dont-email.me>
<413ffe24-069c-40ee-9235-d72b9486afden@googlegroups.com> <4593a823-cb50-4a79-bfe3-c440d2a0a32en@googlegroups.com>
<75088efd-7f83-4b21-9dfd-1a5acdefe1een@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <72999467-4ee5-4efa-8514-4d0e276d5180n@googlegroups.com>
Subject: Re: upload json/download xlsx file to/from www.xxx.co.xx
From: lailton@paysoft.com.br (Lailton Fernando Mariano)
Injection-Date: Tue, 27 Sep 2022 21:24:17 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 6634
 by: Lailton Fernando Mar - Tue, 27 Sep 2022 21:24 UTC

Em terça-feira, 27 de setembro de 2022 às 09:31:46 UTC-7, timec....@gmail.com escreveu:
> On Tuesday, September 27, 2022 at 10:39:13 AM UTC+5:30, lai...@paysoft.com.br wrote:
> > Em quinta-feira, 22 de setembro de 2022 às 11:11:56 UTC-7, Ella Stern escreveu:
> > > On Thursday, September 22, 2022 at 8:19:36 PM UTC+3, Dan wrote:
> > > > Il 22/09/2022 17:33, timepro timesheet ha scritto:
> > > > > On Thursday, September 22, 2022 at 7:42:12 PM UTC+5:30, Dan wrote:
> > > > >> Il 22/09/2022 13:07, Enrico Maria Giordano ha scritto:
> > > > >>> Il 22/09/2022 11:38, timepro timesheet ha scritto:
> > > > >>>
> > > > >>>> 2. auto-login with userid,password,'captcha' (userid, password are
> > > > >>>> predefined)
> > > > >>>
> > > > >>> The problem is the point 2. I don't think it is so easy or possible at all.
> > > > >>>
> > > > >> Agreed. How to decode a captcha? The only way is to download the image,
> > > > >> pass it to an OCR and read the output. While I have a program that does
> > > > >
> > > > >> something similar, captcha is made exactly to avoid such a solution: the
> > > > >> OCR would be fooled by the messy image.
> > > > >> So, no way to overcome it, IMHO.
> > > > >>
> > > > >> Dan
> > > > > enrico, dan thanks for the interest.
> > > > >
> > > > > so, if not for the captcha, (from inside my app) can it be coded to: 'open a website, auto-login with userid & password'. (website, userid, password picked from a .dbf field).
> > > > > the user could then manually type/validate the captcha. (on the open website page).
> > > > > on exiting the website, return to my app's billing screen.
> > > > >
> > > > > also, when enrico replied 'not possible', is it with xhb+wvw or with xhb+any lib...
> > > > I think that to open the page with the browser is easy, but to interact
> > > > with the page isn't. How to automagically compile the fields user/passw?
> > > > Once the browser starts, you have no control on it, if not via OLE. The
> > > > only thing I tried has been: open the page, print it, close. Not very
> > > > much... And it worked only with IE.
> > > >
> > > > Oh, and don't think to load the page in a IFRAME (or FRAME) inside a
> > > > local page carefully crafted (=with a script that modifies the
> > > > FRAME/IFRAME content). This is forbidden if the loaded page is not in
> > > > the same domain of the local page (cross-domain policy). Years ago I
> > > > studied the problem and tried some hacks, but to no avail. Google
> > > > "script injection" if you are interested. Recent improvement in
> > > > browser's security make the thing even more difficult at present.
> > > >
> > > > One solution could be to download the page (quite easy with xHarbour),
> > > > modify the HTML (now the page is simply a text file on your PC),
> > > > injecting a script able to compile the controls (a bit less easy), then
> > > > open in the browser the modified page that should result pre-compiled.
> > > > Unsure, however. Never tried such a thing.
> > > >
> > > > Dan
> > > If the login is done via GET request, the user and password are always URL parameters.
> > > If the login is done via POST request, only JavaScript code can do it, browsers are not able to "post".
> > > Anyway, you cannot open a local .html file generated dynamically by your desktop app (see Dan's comment), but you can call your own web app to do many more things for you.
> > >
> > > And in order to get back to the desktop app there are needed three pieces of software:
> > > - (A) a server-side function of the website, which is able to receive a call from the website frontend, and a call the desktop app
> > > - (B) a function of the website frontend, which is calling (A) to notify it that the user is done with the website
> > > - (C) a function of the desktop app, which is polling periodically (A) in order to check, that the user is done with the website, or not yet
> > Using CURL you can do something like that, the unique point like said before is the captcha, I recommend you download capcha image and show it around
> > fields that will request the user/password, then after you have it you can goto the next step.
> emg, dan, ella, lai...@paysoft.com.br:
>
> forget about 'captcha'. are you gurus saying even 'userid, password' (variables from a .dbf) 'just cannot' be autofilled from within my app. ?
> (the user will type in the captcha)
>
> thanks.

Yes, you can do that.

simple way:
http://www.pctoledo.com.br/forum/viewtopic.php?f=4&t=19242

Re: upload json/download xlsx file to/from www.xxx.co.xx

<929ce56b-8ce2-45c9-91b6-6b24139315fbn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17118&group=comp.lang.xharbour#17118

  copy link   Newsgroups: comp.lang.xharbour
X-Received: by 2002:a05:622a:152:b0:39c:b772:290 with SMTP id v18-20020a05622a015200b0039cb7720290mr6122579qtw.35.1665946392934;
Sun, 16 Oct 2022 11:53:12 -0700 (PDT)
X-Received: by 2002:a81:4802:0:b0:353:7f37:a6a8 with SMTP id
v2-20020a814802000000b003537f37a6a8mr6380336ywa.253.1665946392687; Sun, 16
Oct 2022 11:53:12 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.xharbour
Date: Sun, 16 Oct 2022 11:53:12 -0700 (PDT)
In-Reply-To: <75088efd-7f83-4b21-9dfd-1a5acdefe1een@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=96.242.45.184; posting-account=jZAeNwoAAABYWjMRM-FfqKkHfC3Iph0l
NNTP-Posting-Host: 96.242.45.184
References: <d8029d43-f244-45f7-86b6-3d84c57e1901n@googlegroups.com>
<f35753af-a56f-4bdd-a7b1-dd628d5e78a3n@googlegroups.com> <5f626060-0514-42a3-b1a9-4a8fc8c98e72n@googlegroups.com>
<4f56d94f-1aaf-432b-8109-1f48eca2febdn@googlegroups.com> <adf3e59b-dd04-4004-8942-ef6be19737d2n@googlegroups.com>
<tghfkq$2451c$1@dont-email.me> <tghqfq$261on$1@dont-email.me>
<dc26a45b-d4a2-4d3d-9695-823d1fcd853en@googlegroups.com> <tgi5f6$28o8g$1@dont-email.me>
<413ffe24-069c-40ee-9235-d72b9486afden@googlegroups.com> <4593a823-cb50-4a79-bfe3-c440d2a0a32en@googlegroups.com>
<75088efd-7f83-4b21-9dfd-1a5acdefe1een@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <929ce56b-8ce2-45c9-91b6-6b24139315fbn@googlegroups.com>
Subject: Re: upload json/download xlsx file to/from www.xxx.co.xx
From: timecosting@gmail.com (timepro timesheet)
Injection-Date: Sun, 16 Oct 2022 18:53:12 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 6749
 by: timepro timesheet - Sun, 16 Oct 2022 18:53 UTC

On Tuesday, September 27, 2022 at 10:01:46 PM UTC+5:30, timepro timesheet wrote:
> On Tuesday, September 27, 2022 at 10:39:13 AM UTC+5:30, lai...@paysoft.com.br wrote:
> > Em quinta-feira, 22 de setembro de 2022 às 11:11:56 UTC-7, Ella Stern escreveu:
> > > On Thursday, September 22, 2022 at 8:19:36 PM UTC+3, Dan wrote:
> > > > Il 22/09/2022 17:33, timepro timesheet ha scritto:
> > > > > On Thursday, September 22, 2022 at 7:42:12 PM UTC+5:30, Dan wrote:
> > > > >> Il 22/09/2022 13:07, Enrico Maria Giordano ha scritto:
> > > > >>> Il 22/09/2022 11:38, timepro timesheet ha scritto:
> > > > >>>
> > > > >>>> 2. auto-login with userid,password,'captcha' (userid, password are
> > > > >>>> predefined)
> > > > >>>
> > > > >>> The problem is the point 2. I don't think it is so easy or possible at all.
> > > > >>>
> > > > >> Agreed. How to decode a captcha? The only way is to download the image,
> > > > >> pass it to an OCR and read the output. While I have a program that does
> > > > >
> > > > >> something similar, captcha is made exactly to avoid such a solution: the
> > > > >> OCR would be fooled by the messy image.
> > > > >> So, no way to overcome it, IMHO.
> > > > >>
> > > > >> Dan
> > > > > enrico, dan thanks for the interest.
> > > > >
> > > > > so, if not for the captcha, (from inside my app) can it be coded to: 'open a website, auto-login with userid & password'. (website, userid, password picked from a .dbf field).
> > > > > the user could then manually type/validate the captcha. (on the open website page).
> > > > > on exiting the website, return to my app's billing screen.
> > > > >
> > > > > also, when enrico replied 'not possible', is it with xhb+wvw or with xhb+any lib...
> > > > I think that to open the page with the browser is easy, but to interact
> > > > with the page isn't. How to automagically compile the fields user/passw?
> > > > Once the browser starts, you have no control on it, if not via OLE. The
> > > > only thing I tried has been: open the page, print it, close. Not very
> > > > much... And it worked only with IE.
> > > >
> > > > Oh, and don't think to load the page in a IFRAME (or FRAME) inside a
> > > > local page carefully crafted (=with a script that modifies the
> > > > FRAME/IFRAME content). This is forbidden if the loaded page is not in
> > > > the same domain of the local page (cross-domain policy). Years ago I
> > > > studied the problem and tried some hacks, but to no avail. Google
> > > > "script injection" if you are interested. Recent improvement in
> > > > browser's security make the thing even more difficult at present.
> > > >
> > > > One solution could be to download the page (quite easy with xHarbour),
> > > > modify the HTML (now the page is simply a text file on your PC),
> > > > injecting a script able to compile the controls (a bit less easy), then
> > > > open in the browser the modified page that should result pre-compiled.
> > > > Unsure, however. Never tried such a thing.
> > > >
> > > > Dan
> > > If the login is done via GET request, the user and password are always URL parameters.
> > > If the login is done via POST request, only JavaScript code can do it, browsers are not able to "post".
> > > Anyway, you cannot open a local .html file generated dynamically by your desktop app (see Dan's comment), but you can call your own web app to do many more things for you.
> > >
> > > And in order to get back to the desktop app there are needed three pieces of software:
> > > - (A) a server-side function of the website, which is able to receive a call from the website frontend, and a call the desktop app
> > > - (B) a function of the website frontend, which is calling (A) to notify it that the user is done with the website
> > > - (C) a function of the desktop app, which is polling periodically (A) in order to check, that the user is done with the website, or not yet
> > Using CURL you can do something like that, the unique point like said before is the captcha, I recommend you download capcha image and show it around
> > fields that will request the user/password, then after you have it you can goto the next step.
> emg, dan, ella, lai...@paysoft.com.br:
>
> forget about 'captcha'. are you gurus saying even 'userid, password' (variables from a .dbf) 'just cannot' be autofilled from within my app. ?
> (the user will type in the captcha)
>
> thanks.

ok, can this be programmed?
from inside my app: open hpps://thewebsite.abc
with the 'login' tab clicked. -something like SHELLEXECUTE( 0, 0, thewebsite/login, 0, 0, 1 ) -
the user will then input the userid, password, captcha.

tia

Re: upload json/download xlsx file to/from www.xxx.co.xx

<7e220d99-e6b1-4a29-9815-13ca57186225n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17119&group=comp.lang.xharbour#17119

  copy link   Newsgroups: comp.lang.xharbour
X-Received: by 2002:ac8:5a95:0:b0:39a:86a3:5032 with SMTP id c21-20020ac85a95000000b0039a86a35032mr2220946qtc.96.1666101399021;
Tue, 18 Oct 2022 06:56:39 -0700 (PDT)
X-Received: by 2002:a25:9947:0:b0:6b4:1ed6:19eb with SMTP id
n7-20020a259947000000b006b41ed619ebmr2490430ybo.285.1666101398693; Tue, 18
Oct 2022 06:56:38 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.xharbour
Date: Tue, 18 Oct 2022 06:56:38 -0700 (PDT)
In-Reply-To: <929ce56b-8ce2-45c9-91b6-6b24139315fbn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=179.162.169.180; posting-account=GGC3sAoAAADFtzZRelQzYctflUXFDIpz
NNTP-Posting-Host: 179.162.169.180
References: <d8029d43-f244-45f7-86b6-3d84c57e1901n@googlegroups.com>
<f35753af-a56f-4bdd-a7b1-dd628d5e78a3n@googlegroups.com> <5f626060-0514-42a3-b1a9-4a8fc8c98e72n@googlegroups.com>
<4f56d94f-1aaf-432b-8109-1f48eca2febdn@googlegroups.com> <adf3e59b-dd04-4004-8942-ef6be19737d2n@googlegroups.com>
<tghfkq$2451c$1@dont-email.me> <tghqfq$261on$1@dont-email.me>
<dc26a45b-d4a2-4d3d-9695-823d1fcd853en@googlegroups.com> <tgi5f6$28o8g$1@dont-email.me>
<413ffe24-069c-40ee-9235-d72b9486afden@googlegroups.com> <4593a823-cb50-4a79-bfe3-c440d2a0a32en@googlegroups.com>
<75088efd-7f83-4b21-9dfd-1a5acdefe1een@googlegroups.com> <929ce56b-8ce2-45c9-91b6-6b24139315fbn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <7e220d99-e6b1-4a29-9815-13ca57186225n@googlegroups.com>
Subject: Re: upload json/download xlsx file to/from www.xxx.co.xx
From: lailton@paysoft.com.br (Lailton Fernando Mariano)
Injection-Date: Tue, 18 Oct 2022 13:56:39 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 7102
 by: Lailton Fernando Mar - Tue, 18 Oct 2022 13:56 UTC

Em domingo, 16 de outubro de 2022 às 15:53:13 UTC-3, timec...@gmail.com escreveu:
> On Tuesday, September 27, 2022 at 10:01:46 PM UTC+5:30, timepro timesheet wrote:
> > On Tuesday, September 27, 2022 at 10:39:13 AM UTC+5:30, lai...@paysoft.com.br wrote:
> > > Em quinta-feira, 22 de setembro de 2022 às 11:11:56 UTC-7, Ella Stern escreveu:
> > > > On Thursday, September 22, 2022 at 8:19:36 PM UTC+3, Dan wrote:
> > > > > Il 22/09/2022 17:33, timepro timesheet ha scritto:
> > > > > > On Thursday, September 22, 2022 at 7:42:12 PM UTC+5:30, Dan wrote:
> > > > > >> Il 22/09/2022 13:07, Enrico Maria Giordano ha scritto:
> > > > > >>> Il 22/09/2022 11:38, timepro timesheet ha scritto:
> > > > > >>>
> > > > > >>>> 2. auto-login with userid,password,'captcha' (userid, password are
> > > > > >>>> predefined)
> > > > > >>>
> > > > > >>> The problem is the point 2. I don't think it is so easy or possible at all.
> > > > > >>>
> > > > > >> Agreed. How to decode a captcha? The only way is to download the image,
> > > > > >> pass it to an OCR and read the output. While I have a program that does
> > > > > >
> > > > > >> something similar, captcha is made exactly to avoid such a solution: the
> > > > > >> OCR would be fooled by the messy image.
> > > > > >> So, no way to overcome it, IMHO.
> > > > > >>
> > > > > >> Dan
> > > > > > enrico, dan thanks for the interest.
> > > > > >
> > > > > > so, if not for the captcha, (from inside my app) can it be coded to: 'open a website, auto-login with userid & password'. (website, userid, password picked from a .dbf field).
> > > > > > the user could then manually type/validate the captcha. (on the open website page).
> > > > > > on exiting the website, return to my app's billing screen.
> > > > > >
> > > > > > also, when enrico replied 'not possible', is it with xhb+wvw or with xhb+any lib...
> > > > > I think that to open the page with the browser is easy, but to interact
> > > > > with the page isn't. How to automagically compile the fields user/passw?
> > > > > Once the browser starts, you have no control on it, if not via OLE. The
> > > > > only thing I tried has been: open the page, print it, close. Not very
> > > > > much... And it worked only with IE.
> > > > >
> > > > > Oh, and don't think to load the page in a IFRAME (or FRAME) inside a
> > > > > local page carefully crafted (=with a script that modifies the
> > > > > FRAME/IFRAME content). This is forbidden if the loaded page is not in
> > > > > the same domain of the local page (cross-domain policy). Years ago I
> > > > > studied the problem and tried some hacks, but to no avail. Google
> > > > > "script injection" if you are interested. Recent improvement in
> > > > > browser's security make the thing even more difficult at present.
> > > > >
> > > > > One solution could be to download the page (quite easy with xHarbour),
> > > > > modify the HTML (now the page is simply a text file on your PC),
> > > > > injecting a script able to compile the controls (a bit less easy), then
> > > > > open in the browser the modified page that should result pre-compiled.
> > > > > Unsure, however. Never tried such a thing.
> > > > >
> > > > > Dan
> > > > If the login is done via GET request, the user and password are always URL parameters.
> > > > If the login is done via POST request, only JavaScript code can do it, browsers are not able to "post".
> > > > Anyway, you cannot open a local .html file generated dynamically by your desktop app (see Dan's comment), but you can call your own web app to do many more things for you.
> > > >
> > > > And in order to get back to the desktop app there are needed three pieces of software:
> > > > - (A) a server-side function of the website, which is able to receive a call from the website frontend, and a call the desktop app
> > > > - (B) a function of the website frontend, which is calling (A) to notify it that the user is done with the website
> > > > - (C) a function of the desktop app, which is polling periodically (A) in order to check, that the user is done with the website, or not yet
> > > Using CURL you can do something like that, the unique point like said before is the captcha, I recommend you download capcha image and show it around
> > > fields that will request the user/password, then after you have it you can goto the next step.
> > emg, dan, ella, lai...@paysoft.com.br:
> >
> > forget about 'captcha'. are you gurus saying even 'userid, password' (variables from a .dbf) 'just cannot' be autofilled from within my app. ?
> > (the user will type in the captcha)
> >
> > thanks.
> ok, can this be programmed?
> from inside my app: open hpps://thewebsite.abc
> with the 'login' tab clicked. -something like SHELLEXECUTE( 0, 0, thewebsite/login, 0, 0, 1 ) -
> the user will then input the userid, password, captcha.
>
> tia

Yes, you can do that.

Re: upload json/download xlsx file to/from www.xxx.co.xx

<b001b5af-c3b3-4b58-b617-4e17ea3ee910n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17120&group=comp.lang.xharbour#17120

  copy link   Newsgroups: comp.lang.xharbour
X-Received: by 2002:ac8:5ace:0:b0:39a:9939:8d9 with SMTP id d14-20020ac85ace000000b0039a993908d9mr2272679qtd.625.1666102492190;
Tue, 18 Oct 2022 07:14:52 -0700 (PDT)
X-Received: by 2002:a81:7255:0:b0:356:ac20:6f74 with SMTP id
n82-20020a817255000000b00356ac206f74mr2552935ywc.473.1666102492009; Tue, 18
Oct 2022 07:14:52 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.xharbour
Date: Tue, 18 Oct 2022 07:14:51 -0700 (PDT)
In-Reply-To: <7e220d99-e6b1-4a29-9815-13ca57186225n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=96.242.45.184; posting-account=jZAeNwoAAABYWjMRM-FfqKkHfC3Iph0l
NNTP-Posting-Host: 96.242.45.184
References: <d8029d43-f244-45f7-86b6-3d84c57e1901n@googlegroups.com>
<f35753af-a56f-4bdd-a7b1-dd628d5e78a3n@googlegroups.com> <5f626060-0514-42a3-b1a9-4a8fc8c98e72n@googlegroups.com>
<4f56d94f-1aaf-432b-8109-1f48eca2febdn@googlegroups.com> <adf3e59b-dd04-4004-8942-ef6be19737d2n@googlegroups.com>
<tghfkq$2451c$1@dont-email.me> <tghqfq$261on$1@dont-email.me>
<dc26a45b-d4a2-4d3d-9695-823d1fcd853en@googlegroups.com> <tgi5f6$28o8g$1@dont-email.me>
<413ffe24-069c-40ee-9235-d72b9486afden@googlegroups.com> <4593a823-cb50-4a79-bfe3-c440d2a0a32en@googlegroups.com>
<75088efd-7f83-4b21-9dfd-1a5acdefe1een@googlegroups.com> <929ce56b-8ce2-45c9-91b6-6b24139315fbn@googlegroups.com>
<7e220d99-e6b1-4a29-9815-13ca57186225n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <b001b5af-c3b3-4b58-b617-4e17ea3ee910n@googlegroups.com>
Subject: Re: upload json/download xlsx file to/from www.xxx.co.xx
From: timecosting@gmail.com (timepro timesheet)
Injection-Date: Tue, 18 Oct 2022 14:14:52 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2183
 by: timepro timesheet - Tue, 18 Oct 2022 14:14 UTC

On Tuesday, October 18, 2022 at 7:26:39 PM UTC+5:30, lai...@paysoft.com.br wrote:
Yes, you can do that.

thanks for the revert.

would you facilitate me with the syntax/function...
-is it a 1 line statement/function/coding...

wwwtax='httpS://einvoice1.gst.gov.in/login'
i tried, but does not work: SHELLEXECUTE( 0, 0, wwwtax, 0, 0, 1 )

Re: upload json/download xlsx file to/from www.xxx.co.xx

<b900d3bd-6735-4a47-aa87-0e3a14c436d6n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17121&group=comp.lang.xharbour#17121

  copy link   Newsgroups: comp.lang.xharbour
X-Received: by 2002:a05:620a:12cc:b0:6eb:4375:6680 with SMTP id e12-20020a05620a12cc00b006eb43756680mr1973521qkl.774.1666102702331;
Tue, 18 Oct 2022 07:18:22 -0700 (PDT)
X-Received: by 2002:a25:cf87:0:b0:6be:6c1b:cafb with SMTP id
f129-20020a25cf87000000b006be6c1bcafbmr2610691ybg.402.1666102701974; Tue, 18
Oct 2022 07:18:21 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.xharbour
Date: Tue, 18 Oct 2022 07:18:21 -0700 (PDT)
In-Reply-To: <b001b5af-c3b3-4b58-b617-4e17ea3ee910n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=179.162.169.180; posting-account=GGC3sAoAAADFtzZRelQzYctflUXFDIpz
NNTP-Posting-Host: 179.162.169.180
References: <d8029d43-f244-45f7-86b6-3d84c57e1901n@googlegroups.com>
<f35753af-a56f-4bdd-a7b1-dd628d5e78a3n@googlegroups.com> <5f626060-0514-42a3-b1a9-4a8fc8c98e72n@googlegroups.com>
<4f56d94f-1aaf-432b-8109-1f48eca2febdn@googlegroups.com> <adf3e59b-dd04-4004-8942-ef6be19737d2n@googlegroups.com>
<tghfkq$2451c$1@dont-email.me> <tghqfq$261on$1@dont-email.me>
<dc26a45b-d4a2-4d3d-9695-823d1fcd853en@googlegroups.com> <tgi5f6$28o8g$1@dont-email.me>
<413ffe24-069c-40ee-9235-d72b9486afden@googlegroups.com> <4593a823-cb50-4a79-bfe3-c440d2a0a32en@googlegroups.com>
<75088efd-7f83-4b21-9dfd-1a5acdefe1een@googlegroups.com> <929ce56b-8ce2-45c9-91b6-6b24139315fbn@googlegroups.com>
<7e220d99-e6b1-4a29-9815-13ca57186225n@googlegroups.com> <b001b5af-c3b3-4b58-b617-4e17ea3ee910n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <b900d3bd-6735-4a47-aa87-0e3a14c436d6n@googlegroups.com>
Subject: Re: upload json/download xlsx file to/from www.xxx.co.xx
From: lailton@paysoft.com.br (Lailton Fernando Mariano)
Injection-Date: Tue, 18 Oct 2022 14:18:22 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2517
 by: Lailton Fernando Mar - Tue, 18 Oct 2022 14:18 UTC

Em terça-feira, 18 de outubro de 2022 às 11:14:52 UTC-3, timec...@gmail.com escreveu:
> On Tuesday, October 18, 2022 at 7:26:39 PM UTC+5:30, lai...@paysoft.com.br wrote:
> Yes, you can do that.
> thanks for the revert.
>
> would you facilitate me with the syntax/function...
> -is it a 1 line statement/function/coding...
>
> wwwtax='httpS://einvoice1.gst.gov.in/login'
> i tried, but does not work: SHELLEXECUTE( 0, 0, wwwtax, 0, 0, 1 )

try:

shellexecute(0,"open”,"https://einvoice1.gst.gov.in/login")

Re: upload json/download xlsx file to/from www.xxx.co.xx

<8467fbcf-66f5-476c-a572-a46252070c7cn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17122&group=comp.lang.xharbour#17122

  copy link   Newsgroups: comp.lang.xharbour
X-Received: by 2002:ac8:5c03:0:b0:39c:ee08:157f with SMTP id i3-20020ac85c03000000b0039cee08157fmr2509580qti.436.1666106542333;
Tue, 18 Oct 2022 08:22:22 -0700 (PDT)
X-Received: by 2002:a25:8885:0:b0:6bc:10f9:bb36 with SMTP id
d5-20020a258885000000b006bc10f9bb36mr2880945ybl.18.1666106542049; Tue, 18 Oct
2022 08:22:22 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.xharbour
Date: Tue, 18 Oct 2022 08:22:21 -0700 (PDT)
In-Reply-To: <b900d3bd-6735-4a47-aa87-0e3a14c436d6n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=96.242.45.184; posting-account=jZAeNwoAAABYWjMRM-FfqKkHfC3Iph0l
NNTP-Posting-Host: 96.242.45.184
References: <d8029d43-f244-45f7-86b6-3d84c57e1901n@googlegroups.com>
<f35753af-a56f-4bdd-a7b1-dd628d5e78a3n@googlegroups.com> <5f626060-0514-42a3-b1a9-4a8fc8c98e72n@googlegroups.com>
<4f56d94f-1aaf-432b-8109-1f48eca2febdn@googlegroups.com> <adf3e59b-dd04-4004-8942-ef6be19737d2n@googlegroups.com>
<tghfkq$2451c$1@dont-email.me> <tghqfq$261on$1@dont-email.me>
<dc26a45b-d4a2-4d3d-9695-823d1fcd853en@googlegroups.com> <tgi5f6$28o8g$1@dont-email.me>
<413ffe24-069c-40ee-9235-d72b9486afden@googlegroups.com> <4593a823-cb50-4a79-bfe3-c440d2a0a32en@googlegroups.com>
<75088efd-7f83-4b21-9dfd-1a5acdefe1een@googlegroups.com> <929ce56b-8ce2-45c9-91b6-6b24139315fbn@googlegroups.com>
<7e220d99-e6b1-4a29-9815-13ca57186225n@googlegroups.com> <b001b5af-c3b3-4b58-b617-4e17ea3ee910n@googlegroups.com>
<b900d3bd-6735-4a47-aa87-0e3a14c436d6n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <8467fbcf-66f5-476c-a572-a46252070c7cn@googlegroups.com>
Subject: Re: upload json/download xlsx file to/from www.xxx.co.xx
From: timecosting@gmail.com (timepro timesheet)
Injection-Date: Tue, 18 Oct 2022 15:22:22 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2478
 by: timepro timesheet - Tue, 18 Oct 2022 15:22 UTC

thanks for your effort.

shellexecute(0,"open”,"https://einvoice1.gst.gov.in/login")
this does not compile.

i tried:
wwweinvoice="https://einvoice1.gst.gov.in/login"
shellexecute(0,"open",wwweinvoice)
shellexecute(0,"open",wwweinvoice,0,0,1)
shellexecute(0,0,"open",wwweinvoice,0,0,1)
but, none works.

this could be tried:
-open einvoice1.gst.gov.in
-right click on the 'login' tab.
-view the 'page source'

i too could, buy it's just beyond my 'pay grade'

Re: upload json/download xlsx file to/from www.xxx.co.xx

<d37e6a53-0ae3-4867-888f-5dd266937673n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17123&group=comp.lang.xharbour#17123

  copy link   Newsgroups: comp.lang.xharbour
X-Received: by 2002:a0c:cb8d:0:b0:4b1:7a87:8ad5 with SMTP id p13-20020a0ccb8d000000b004b17a878ad5mr2859775qvk.35.1666107776042;
Tue, 18 Oct 2022 08:42:56 -0700 (PDT)
X-Received: by 2002:a81:5455:0:b0:350:6625:437d with SMTP id
i82-20020a815455000000b003506625437dmr2837070ywb.326.1666107775779; Tue, 18
Oct 2022 08:42:55 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.xharbour
Date: Tue, 18 Oct 2022 08:42:55 -0700 (PDT)
In-Reply-To: <8467fbcf-66f5-476c-a572-a46252070c7cn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=179.162.169.180; posting-account=GGC3sAoAAADFtzZRelQzYctflUXFDIpz
NNTP-Posting-Host: 179.162.169.180
References: <d8029d43-f244-45f7-86b6-3d84c57e1901n@googlegroups.com>
<f35753af-a56f-4bdd-a7b1-dd628d5e78a3n@googlegroups.com> <5f626060-0514-42a3-b1a9-4a8fc8c98e72n@googlegroups.com>
<4f56d94f-1aaf-432b-8109-1f48eca2febdn@googlegroups.com> <adf3e59b-dd04-4004-8942-ef6be19737d2n@googlegroups.com>
<tghfkq$2451c$1@dont-email.me> <tghqfq$261on$1@dont-email.me>
<dc26a45b-d4a2-4d3d-9695-823d1fcd853en@googlegroups.com> <tgi5f6$28o8g$1@dont-email.me>
<413ffe24-069c-40ee-9235-d72b9486afden@googlegroups.com> <4593a823-cb50-4a79-bfe3-c440d2a0a32en@googlegroups.com>
<75088efd-7f83-4b21-9dfd-1a5acdefe1een@googlegroups.com> <929ce56b-8ce2-45c9-91b6-6b24139315fbn@googlegroups.com>
<7e220d99-e6b1-4a29-9815-13ca57186225n@googlegroups.com> <b001b5af-c3b3-4b58-b617-4e17ea3ee910n@googlegroups.com>
<b900d3bd-6735-4a47-aa87-0e3a14c436d6n@googlegroups.com> <8467fbcf-66f5-476c-a572-a46252070c7cn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <d37e6a53-0ae3-4867-888f-5dd266937673n@googlegroups.com>
Subject: Re: upload json/download xlsx file to/from www.xxx.co.xx
From: lailton@paysoft.com.br (Lailton Fernando Mariano)
Injection-Date: Tue, 18 Oct 2022 15:42:56 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2879
 by: Lailton Fernando Mar - Tue, 18 Oct 2022 15:42 UTC

Em terça-feira, 18 de outubro de 2022 às 12:22:23 UTC-3, timec...@gmail.com escreveu:
> thanks for your effort.
> shellexecute(0,"open”,"https://einvoice1.gst.gov.in/login")
> this does not compile.
>
> i tried:
> wwweinvoice="https://einvoice1.gst.gov.in/login"
> shellexecute(0,"open",wwweinvoice)
> shellexecute(0,"open",wwweinvoice,0,0,1)
> shellexecute(0,0,"open",wwweinvoice,0,0,1)
> but, none works.
>
> this could be tried:
> -open einvoice1.gst.gov.in
> -right click on the 'login' tab.
> -view the 'page source'
>
> i too could, buy it's just beyond my 'pay grade'

If you have Skype add me and message me in there. or send me in private your number for Telegram/Whatsapp to my email lailton@paysoft.com.br

Regards.

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor