C
Carsten Broschek
Hi!
Is it possible to handle a file upload via CGI through a
background-thread in order to show process-info? If the server reads
complete request and stores data into temp-file, there would be no sense
to fork the process?
My idea
1) send multipart
2) create session, fork process
3) parent writes html reponse "upload in process", with some meta-refresh
4) child process reads file-handle and writes into file
5) upload state is stored into session
Thanks for comments.
Carsten
Is it possible to handle a file upload via CGI through a
background-thread in order to show process-info? If the server reads
complete request and stores data into temp-file, there would be no sense
to fork the process?
My idea
1) send multipart
2) create session, fork process
3) parent writes html reponse "upload in process", with some meta-refresh
4) child process reads file-handle and writes into file
5) upload state is stored into session
Thanks for comments.
Carsten