Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1    Statistic  


Sets whether progress dialog should be automatically updated.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
CURL 2.5 Yes Yes Yes Yes Yes
MBS( "CURL.SetUpdateProgressDialog"; curl; value )   More


Parameter Description Example value
curl The CURL session handle. $curl
value 0 to disable updates or 1 to enable updates 1


Returns "OK" on success.


Sets whether progress dialog should be automatically updated.
You can setup a progress dialog with our ProgressDialog functions. If you enable updates, the plugin will automatically update the progress bar with percentage of upload or download done.
Does not work with CURL.PerformInBackground.


Enable updates

MBS( "CURL.SetUpdateProgressDialog"; $curl; 1 )

Use progress dialog with upload or download:

# setup progress dialog
Set Variable [$result; Value:MBS("ProgressDialog.SetCancel"; 0)]
Set Variable [$result; Value:MBS("ProgressDialog.SetProgress"; 0)]
Set Variable [$result; Value:MBS("ProgressDialog.SetTopText"; "Sending email...")]
Set Variable [$result; Value:MBS("ProgressDialog.SetShowButton"; 0)]
Set Variable [$result; Value:MBS("ProgressDialog.Show")]
# Tell plugin to move bar for us automatically.
Set Variable [$result; Value:MBS("CURL.SetUpdateProgressDialog"; $curl; 1)]
# Run the transfer
Set Variable [$r; Value:MBS("CURL.Perform"; $curl)]
# hide progress dialog
Set Variable [$result; Value:MBS("ProgressDialog.Hide")]

See also

Example Databases

Blog Entries

Created 18th August 2014, last changed 11st April 2017

CURL.SetTag   -   CURL.SetupAWS

Feedback: Report problem or ask question.

MBS Xojo Plugins