(PECL pecl_http >= 0.10.0)
HttpRequest::setPutFile — Set put file
$file
Set file to put. Affects only PUT requests.
file
the path to the file to send; if empty or omitted the put file will be unset
如果成功則回傳 TRUE,失敗則回傳 FALSE。
TRUE
FALSE