|
I installed the latest version off the easy400.net server thinking the same
thing. Figuring it was my CGIDEV2 version.
Recompiled everything and get the same results.
-----Original Message-----
From: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Raul Jager
Sent: Thursday, April 11, 2019 11:28 AM
To: rpg400-l@xxxxxxxxxxxxxxxxxx
Subject: Re: CGIDEV2 File Upload
Older versions of CGIDEV2 did not have that option, is yours new?
On 4/11/19 10:45 AM, Jay wrote:
Yes. That was the first think I checked:accept-charset="utf-8" enctype="multipart/form-data">
<form method="post" action="/cgi-bin/wqw0000c" name="links"
<input type="hidden" name="smn" value="901">value="2019-04-18-09.19.17.343000">
<input type="hidden" name="quotesmn" value="">
<input type="hidden" name="quotenbr" value="">
<input type="hidden" name="pagectl" value="LINK_MAINT">
<input type="hidden" name="pagesub1" value="EDIT">
<input type="hidden" name="pagesub2" value="SAVE">
<input type="hidden" name="session" value="MJB2019">
<input type="hidden" name="timeout"
<input type="hidden" name="linkid" value="3">Information</option>
<div class="divtable">
<div class="divtablerow">
<div class="divtablecell">Link Type/Category</div>
<div class="divtablecell">
<select name="lltype">
<option value="*HOW-TO" selected>How-To Documents</option>
<option value="*PROMO" >Promotion Information</option>
<option value="*VENDOR" >Vendor Specific
</select>value="Test Upload" size="50" maxlength="80"></div>
</div>
</div>
<div class="divtablerow">
<div class="divtablecell">Link Name</div>
<div class="divtablecell"><input type="text" name="llname"
</div>value="Test upload of image file" size="50" maxlength="128"></div>
<div class="divtablerow">
<div class="divtablecell">Description</div>
<div class="divtablecell"><input type="text" name="lldesc"
</div>value="0" size="6" maxlength="6">
<div class="divtablerow">
<div class="divtablecell">Expiration</div>
<div class="divtablecell"><input type="number" name="llsdte"
<input type="number" name="lledte" value="0" size="6"maxlength="6"></div>
</div>value="http://10.101.1.97:8999/linklibrary" size="50" maxlength="128"></div>
<div class="divtablerow">
<div class="divtablecell">Server Address</div>
<div class="divtablecell"><input type="text" name="llhttp"
<div class="divtablecell">include the actual file name in this field.)
This is the address where the document can be loaded. (Do not
</div>value="" size="50" maxlength="128"></div>
</div>
<div class="divtablerow">
<div class="divtablecell">Document/File Name</div>
<div class="divtablecell"><input type="text" name="llfile"
<div class="divtablecell">If the file is located on a differentserver than this application, enter the file name here.</div>
</div>device="files" size="40"></div>
<div class="divtablerow">
<div class="divtablecell">File to upload</div>
<div class="divtablecell"><input name="browserfile" type="file"
</div>browserfile_template variable is not getting populated to let the programs
</div>
<input type="submit" name="done" value="Save">
</form>
As I said, I can see the file show up in the /tmp folder, but the
know what the temp file names it move it.
ok?
-----Original Message-----
From: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Raul
Jager
Sent: Thursday, April 11, 2019 9:42 AM
To: rpg400-l@xxxxxxxxxxxxxxxxxx
Subject: Re: CGIDEV2 File Upload
Do you have multipart in your form? Is there other input field that reads
<form action="" method="post" enctype="multipart/form-data">CGIDEV2?
<input type="hidden" name="ncl" value="/%ncl%/" />
<input type="file" name="imagen" device="files" accept=".jpg" />
RPG: datoaux = zhbGetVar('imagen_tempfile');
On 4/10/19 7:11 PM, Jay wrote:
Has anyone been able to get the file uploading ability to work in
has no content.
I have the input field <input name="browserfile" type="file"
device="files"> defined and can see the PCfile name come through in
the debug session. I can see the upload file appear in the /TMP
folder. But the browserfile_template field that the examples reference
https://archive.midrange.com/rpg400-l.-- Este e-mail fue enviado desde el Mail Server del diario ABC Color --
Zhbgetinput is executing, but doesn't appear to be populating the
_template field.
Jay
-- Verificado por Anti-Virus Corporativo Symantec --
--
This is the RPG programming on IBM i (RPG400-L) mailing list To post a
message email: RPG400-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe,
or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
Please contact support@xxxxxxxxxxxx for any subscription relatedquestions.
Help support midrange.com by shopping at amazon.com with our affiliate-- Este e-mail fue enviado desde el Mail Server del diario ABC Color --
link: https://amazon.midrange.com
-- Verificado por Anti-Virus Corporativo Symantec --
--
This is the RPG programming on IBM i (RPG400-L) mailing list To post a
message email: RPG400-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or
change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link:
https://amazon.midrange.com
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.