Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
CURL.AddInputJPEG
Adds input to JPEG data from the container value.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| CURL | 2.7 | Yes | Yes | Yes | Yes | Yes |
MBS( "CURL.AddInputJPEG"; curl; data ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| curl | The CURL session handle. | $curl |
| data | The container value with the data to upload. |
Result
Returns "OK" on success.
Description
Adds input to JPEG 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.SetInputJPEG.
Examples
Add JPEG picture from container:
MBS( "CURL.AddInputJPEG"; $curl; MyTable::MyContainer )
See also
- CURL.AddInputFile
- CURL.AddInputGIF
- CURL.AddInputPDF
- CURL.AddInputPNG
- CURL.AddInputText
- CURL.SetInputJPEG
Blog Entries
- MBS FileMaker Plugin, version 10.5pr7
- MBS Filemaker Plugin 2.7 Release notes
- MBS Filemaker Plugin, version 2.7pr8
Release notes
- Version 10.5
Created 18th August 2014, last changed 7th December 2016
CURL.AddInputGIF - CURL.AddInputPDF
Feedback: Report problem or ask question.
Links
MBS Xojo Plugins