08-21-2020, 08:58 AM
(08-21-2020, 01:20 AM)TheOldPresbyope Wrote:(08-21-2020, 12:57 AM)Tim Curtis Wrote: Is the zip file larger than 30MB?
No. 21+MB.
It took me 'til after dinner to spin up a test system I didn't mind borking if something went wrong. As @fdealexa says, it did import the first zip file. The six entries I mentioned are in the cfg_radio table with invalid URLs (containing semicolons, which, fortunately, do not affect the stations I tested from playing). Will continue.
Regards,
Kent
Oh, duh. My old-timer's disease is kicking in. This is file transmission via HTTP which means base64 encoding.
I checked a few files with the base64 command. The OP has hit the point where the binary zip file is still less than 30MB but grows to greater than 30MB when encoded.
When I try to import it, I see a 413 error reported to the browser console.
Code:
POST http://moode3a/command/moode.php?cmd=import_stations 413 (Request Entity Too Large)
Apparently, the code doesn't account for this since it hangs until cancelled (e.g., click anywhere on the screen).
Regards,
Kent