setFieldName() setFieldName(string $name) : self Set the name of the field Parameters string $name Field name Returns self
setFilename() setFilename(string $path) : self Set the path to the file Parameters string $path Full path to the file Throws \Guzzle\Common\Exception\InvalidArgumentException if the file cannot be read Returns self
setPostname() setPostname(string $name) : self Set the post name of the file Parameters string $name The new name of the file Returns self
setContentType() setContentType(string $type) : self Set the Content-Type of the file Parameters string $type Content type Returns self
getCurlValue() getCurlValue() : string Get a cURL ready string or CurlFile object for the upload Returns string