Home Help Center

How can I develop a File transfer application?question 2.1

xiehuaxiehua Member ✭✭
question 2.1: about Ice.MessageSizeMax
In my application,I config Ice.MessageSizeMax=100000
and then I test the application.
when I transfer file of size 1M,15M.45M,every thing is Ok.
But when I transfer file of size 70.5M , there comes a window Message box:

Microsoft visual C++ Runtime Library
Runtime Error!
abnormal program termination



  • marcmarc FloridaAdministrators, ZeroC Staff Marc LaukienOrganization: ZeroC, Inc.Project: The Internet Communications Engine ZeroC Staff
    In general, it is not advisable to send such huge amounts of data in a single requests. I recommend to send the data in several chunks, like IcePatch is doing it.

    To find out what exactly the reason for the program termination is, you must attach the debugger to the program, and look at the stack trace. See the Visual C++ debugger documentation for further details.
  • xiehuaxiehua Member ✭✭
    ok,I study the Icepatch src now to make my application of file transfer

    thank you
Sign In or Register to comment.