1. jorge gonzalez
  2. PowerBuilder
  3. Wednesday, 16 October 2024 23:07 PM UTC

I am calling the Httpclient sendrequest to send a tiff document over to filenet. Sometimes when sending a large document the command throws a code conversion failed (-5) error message. I tried sending a 32 meg tif document today and got the code conversion error message.

I was looking at the PB help for this command and it says the command is NOT supported to process large data (20mb or 100,000 data rows...)

How would you send the large tiff file to filenet? Could the postdata command work?  

René Ullrich Accepted Answer Pending Moderation
  1. Thursday, 17 October 2024 05:20 AM UTC
  2. PowerBuilder
  3. # 1

You should try PostData to send the large file using smaller blocks.

Comment
  1. jorge gonzalez
  2. Thursday, 17 October 2024 11:56 AM UTC
I was looking at the example of postdata in the PB help. It appears to send the file/blob in chunks to the url. I am not a web guy. What puts the file together on the other side into one file?





Thanks Rene & Mike
  1. Helpful
  1. René Ullrich
  2. Thursday, 17 October 2024 12:23 PM UTC
The web server is responsible to put all chunks together.
  1. Helpful 3
There are no comments made yet.
mike S Accepted Answer Pending Moderation
  1. Thursday, 17 October 2024 03:21 AM UTC
  2. PowerBuilder
  3. # 2

most blob services support sending large files as blocks of data.  so if your file is 50mb in size, break up the file into whatever block size makes sense and send it 

 

 

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.