|
I don't think CGIDEV2 will help with that. That sounds like a javascriptunsubscribe, or change list options, visit: https://lists.midrange.com/mailman/listinfo/rpg400-l [4] or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx Before posting, please take a moment to review the archives at https://archive.midrange.com/rpg400-l [5]. Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions. Help support midrange.com by shopping at amazon.com with our affiliate link: https://amazon.midrange.com [6]
function you'd want to use.
You could roll your own or use the confirm() javascript function and only
start the download if that is true.
https://www.w3schools.com/jsref/met_win_confirm.asp [7]
You would have to change your link as well and then actually redirect to
the download link if they select OK and confirm.
Bradley V. Stone
www.bvstools.com [8]
MAILTOOL Benefit #15 <https://www.bvstools.com/mailtool.html [9]>: The ability
to add a Footer to each email sent using an IFS stream file.
On Fri, Apr 24, 2020 at 10:57 AM john art <jhon_art@xxxxxxxxxxx> wrote:
Hi all I am playing with Upload/Download for iSeries utility from / www.easy400.net [1] ; i'm using it from my RPG program to download a file from IMB i to my PC . Running this code in my rpg PCCMD(''start ' + ' http://myibmi:8027/fuploadp/fdnload.pgm+?xfile=/ [2]' + '/tmp/' + %Trim(TmpObj)+ '.xls' + ''')' + ' PAUSE(*NO)'; it download the document in my pc. I would like, before the download, show to user a web page that ask confirm to the download, but having no knowledge about CGIDEV2, i'm not able to do that. The program already does a similar operation (if file not exist), but i don't know how to menage a situation where the first time ask confirm and then (second time) run the download thanks in advance P.S. the source code of the program is at https://www.easy400.net/fuploadp/dspsrc.cgi?srclib=fupload&srcfil=qrpglesrc&srcmbr=fdnload [3] -- This is the RPG programming on IBM i (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx To subscribe,
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.