Your comment made be go look at a PHP routine I wrote a while back. Since
CGIDEV seems to follow PHP in a lot of things, I went looking.
In one of the CGIDEV2 documents, it said that the IFS file comes back in
"browser_template". Nope. "browser_tempfile". I looked at UPLOAD and it is
referencing _tempfile. Change my program and recompile: Boom!
Thanks all!
Sometimes it does take a village to get the machine to cooperate. Sledge
hammers work too, but employers don't like them.
-----Original Message-----
From: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Justin
Taylor
Sent: Thursday, April 11, 2019 1:19 PM
To: Rpg400-L (rpg400-l@xxxxxxxxxxxxxxxxxx) <rpg400-l@xxxxxxxxxxxxxxxxxx>
Subject: RE: CGIDEV2 File Upload
If the file is in /tmp, my guess would be that the CGIDEV2 variable name is
not what you expect. I've dealt with that before. I had to debug the
CGIDEV2 code and snoop the variables it had listed.
HTH
--
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.