Method: Curl::PostField#remote_file=

Defined in:
ext/curb_postfield.c

#remote_file=(remote_file) ⇒ Object

Set the POST field remote filename for this PostField (when performing a file upload). If no remote filename is provided, and no content_proc is supplied, the local filename is used. If no remote filename is specified when a content_proc is used, an exception will be raised during the perform.



385
386
387
# File 'ext/curb_postfield.c', line 385

static VALUE ruby_curl_postfield_remote_file_set(VALUE self, VALUE remote_file) {
  CURB_OBJECT_SETTER(ruby_curl_postfield, remote_file);
}