Hi,

I promised to get back to the list.

False alarm, it was a carbon unit failure.

write blob does NOT lock the server when sending HUGE files.

best

James.

On 17 Feb 2005, at 19:53, Aparajita Fishman wrote:

I'm send a large PDF (70MB) to a browser using write blob.

Whilst this is happening all other users cannot do anything on the server, as soon as the download is finished the other users can access the server fine.

Am I doing something silly?

Yes, you are trying to send a 70MB file using 'write blob'. ;-)


Obviously 70mb is a large file and I expect it to slow down other users due to bandwidth restrictions, but what we seem to be seeing is all other processes are frozen until this is complete.

Active4D doesn't handle the actual sending, so I think the hangup is in the 4D command SEND HTML BLOB. My guess is that this is blocking all other processes until it is done.



The function PM2_PDF_TO_BLOB loads the file from disk into a blob and returns that in $0
The blob is sent and received successfully (so it doesn't appear to be a memory error).


Any ideas?

If in fact SEND HTML BLOB is blocking, you will have to give your users another way to download.


Regards,

    - Aparajita

_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/




Drag And Drop Limited 41 Brook Road Rayleigh Essex SS6 7XJ http://www.drag-and-drop.com t: 01268 779648 f: 01268 741675

_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Reply via email to