%inomads'upload_file() times out

Started by pwhirley, July 07, 2022, 09:23:09 PM

Previous topic - Next topic

pwhirley

Is there a limit to the size file the %inomads'upload_file() function can handle?  I've got my upload working well with small files.  I've tested with 2K file size with success.   The actual files the user will be uploading are generally 22-25MB Excel files.  This does not seem to be a very large file, considering that the upload attempts are either on the same server where EZWEB and iNOMADS are running or are connected with a 300Mb connection.  Whenever I try the larger file it sits for a long time then says that it cannot make a connection.  I then find that EZWEB is no longer running and I have to restart it.
Any idea what might be happening here or where I can begin to look for a cause.  The weird part, to me, is that the issues seems to kill EZWEB.

The server is Windows running PXPlus 2021 Web. 

Thanks!  - Phil
Philip Whirley
Freelance software developer
Ride the Lowcountry, LLC
phil@whirley.org

EVa

You need to set parameter IZ (SET_PARAM 'IZ'=1) in the PxPlus session that is running the EzWeb Server or else it will run out of memory (error 31) and terminate.

pwhirley

Thanks!   This worked.
I put SET_PARAM 'IZ' in my START_UP and it solved the problem.  Is there another place that is preferable to set the parameter?
- Phil
Philip Whirley
Freelance software developer
Ride the Lowcountry, LLC
phil@whirley.org

Mike King

Mike King
President - BBSysco Consulting
eMail: mike.king@bbsysco.com