original_string: protected function getWorkFile($path) {
  		if ($work = $this->getTempFile()) {
  			if ($wfp = fopen($work, 'wb')) {
  				if ($fp = $this->_fopen($path)) {
  					while(!feof($fp)) {
  						fwrite($wfp, fread($fp, 8192));
  					}
  					$this->_fclose($fp, $path);
  					fclose($wfp);
  					return $work;
  				}
  			}
  		}
  		return false;
  	}
code: protected function getWorkFile($path) {
  		if ($work = $this->getTempFile()) {
  			if ($wfp = fopen($work, 'wb')) {
  				if ($fp = $this->_fopen($path)) {
  					while(!feof($fp)) {
  						fwrite($wfp, fread($fp, 8192));
  					}
  					$this->_fclose($fp, $path);
  					fclose($wfp);
  					return $work;
  				}
  			}
  		}
  		return false;
  	}
code_tokens: protected function getWorkFile ( $ path ) { if ( $ work = $ this -> getTempFile ( ) ) { if ( $ wfp = fopen ( $ work , 'wb' ) ) { if ( $ fp = $ this -> _fopen ( $ path ) ) { while ( ! feof ( $ fp ) ) { fwrite ( $ wfp , fread ( $ fp , 8192 ) ) ; } $ this -> _fclose ( $ fp , $ path ) ; fclose ( $ wfp ) ; return $ work ; } } } return false ; }
docstring: File path of local server side work file path
  
  @param  string $path path need convert encoding to server encoding
  @return string
  @author Naoki Sawada
docstring_tokens: File path of local server side work file path