Error Message: When performing a write operation with AllowWriteStreamBuffering set to false, you must either set ContentLength to a non-negative number or set SendChunked to true.

Error Message: When performing a write operation with AllowWriteStreamBuffering set to false, you must either set ContentLength to a non-negative number or set SendChunked to true.

Action:
When executing a package that includes File Transfer Task I get the following error:
Error Message:
[File Transfer Task] Error: An error
occurred with the following error message: "System.Net.WebException: An
exception occurred during a WebClient request. --->
System.Net.ProtocolViolationException: When performing a write operation with
AllowWriteStreamBuffering set to false, you must either set ContentLength to a
non-negative number or set SendChunked to true.

Solution:
This error appeared in an earlier 1.9 version. Please install the latest 1.9 COZYROC SSIS+ version to solve your issue. 

    Book a Presales Call

     

    Are you new to COZYROC and evaluating our solutions? 
    Book a Presales Call with us now.