Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Adds input to PDF data from the container value.

Component Version macOS Windows Linux Server iOS SDK
CURL 4.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "CURL.AddInputPDF"; curl; data )   More


Parameter Description Example
curl The CURL session handle. $curl
data The container value with the data to upload. $pdfContainer


Returns "OK" on success.


Adds input to PDF data from the container value.
Also sets input file length. You need to define input data for file uploads, http posts and http put operations.
Using SetInput* functions and AddInput* functions you can construct the input data in several function calls. This is useful if you do a multipart upload with text parts and file content mixed.

This is for adding to existing data, but for uploading only a file, you can use CURL.SetInputPDF.


Add PDF from container:

MBS( "CURL.AddInputPDF"; $curl; MyTable::MyContainer )

See also

Release notes

Blog Entries

This function checks for a license.

Created 18th August 2014, last changed 7th December 2016