Operating System - OpenVMS
1827293 Members
2301 Online
109717 Solutions
New Discussion

CSWS does not do 'large' binary transfers e.g. fileuploads

 
SDIH1
Frequent Advisor

CSWS does not do 'large' binary transfers e.g. fileuploads

For CSWS 1.3 FIXBG and FLIP_CCL were provided
to do large binary transfers. For CSWS 2.0
these are not provided.

Large binary transfers fail on CSWS 2.0.

CSWS 1.3 FIXBG and FLIP_CLL utilities/library
do a good job on 1.3, but do not work on CSWS 2.0.

Anybody an idea?

3 REPLIES 3
John Gillings
Honored Contributor

Re: CSWS does not do 'large' binary transfers e.g. fileuploads

>Large binary transfers fail on CSWS 2.0.

Could you be more specific please? What are you doing and what is the result? (exact error messages, log file entries, responses...)

A crucible of informative mistakes
John Yu_1
Valued Contributor

Re: CSWS does not do 'large' binary transfers e.g. fileuploads

Have you checked quotas?
Artificial intelligence is rarely a match for natural stupidity.
SDIH1
Frequent Advisor

Re: CSWS does not do 'large' binary transfers e.g. fileuploads

I have a attached a little c program that illustrates the behaviour. Once compiled and
linked and put in the cgi-bin directory, this produces the following output on CSWS 1.31 :

rsize = 0, iosize = 1024
content size was 1209952, actually read 1209952

on CSWS 2.0

rsize = 0, iosize = 32000
content size was 1209952, actually read 61440

btw. FIXBG on CSWS fixes the occurence of spurious line feeds in the uploaded content.

I have checked quotas ( PQL and apache$www, bytlm and pgflquota), but they seem not to
affect this problem.

As you can see in the code, I also tried the results with different read i/o sizes and what the effect was with or without calling fixbg. ON CSWS 2.0 this produced no difference in behaviour.