I’m trying to use the fileinput widget to transfer files to a server for further processing. the files are in zipped format and are 2Mb each. I have at times 500+ of them to upload at once.
So far, even when forcing the websocket-max-message-size to be over 3Gb, the transfer doesn’t work. the max # of files I can transfer is still 10, or else the connection shuts down.
Is it possible to fix that?
My code to upload (fileinput is obviously set to multiple=True) looks like this here below, but Bokeh never reaches that when the # of files to transfer is > 10 so…the problem should really be either fileinput or the connection to the server:
for fn, f in zip(data_upload_scope_shots.filename, data_upload_scope_shots.value):
decoded = base64.b64decode(f)
file_content = io.BytesIO(decoded)
file_out = open(full_path + ‘/scope_data/’ + fn, ‘wb’)
any help appreciated