CURL.SetOptionResumeFrom
------------------------

Sets the resume from offset.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [CURL](component_CURL.md) | [2.5](newinversion25.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "CURL.SetOptionResumeFrom"; curl; Value ) 

**MBS**( **"CURL.SetOptionResumeFrom";** /\* Sets the resume from offset. \*/  
**$curl**; /\* The CURL session handle. \*/   
**$Value**) /\* The offset to start at.e.g. 1000 \*/ 

(old name: CURL.SetOptionResumeFromLarge)

### Parameters

| Parameter | Description | Example |
|---|---|---|
| curl | The CURL session handle. | $curl |
| Value | The offset to start at. | 1000 |

### Result

Returns "OK" on success.

### Description

Sets the resume from offset.  
Pass a number as parameter. It contains the offset in number of bytes that you want the transfer to start from. Set this option to 0 to make the transfer start from the beginning (effectively disabling resume). For FTP, set this option to -1 to make the transfer start from the end of the target file (useful to continue an interrupted upload).  
  
When doing uploads with FTP, the resume position is where in the local/source file libcurl should try to resume the upload from and it will then append the source file to the remote target file.  
See also [RESUME\_FROM](https://curl.haxx.se/libcurl/c/CURLOPT_RESUME_FROM.html) option in CURL manual.

### See also

- [CURL.SetOptionMailFrom](CURLSetOptionMailFrom.md)
- [CURL.SetOptionReferer](CURLSetOptionReferer.md)

### Blog Entries

- [Translating Insert from URL options for CURL to MBS Plugin calls](https://www.mbsplugins.de/archive/2020-12-14/Translating_Insert_from_URL_op/monkeybreadsoftware_blog_filemaker)
- [MBS Filemaker Plugin, version 3.3pr1](https://www.mbsplugins.de/archive/2013-05-24/MBS_Filemaker_Plugin_version_3/monkeybreadsoftware_blog_filemaker)

Created 18th August 2014 , last changed 18th April 2016

  
[CURL.SetOptionResolve](CURLSetOptionResolve.md) - [CURL.SetOptionSASLAuthZID](CURLSetOptionSASLAuthZID.md)

[HTML Version](CURLSetOptionResumeFrom.shtml)