public function getFileByServerRelativeUrl($serverRelativeUrl){
        $path = new ResourcePathServiceOperation($this->getContext(),$this->getResourcePath(),"getfilebyserverrelativeurl",array(
            rawurlencode($serverRelativeUrl) 
        ));
        $file = new File($this->getContext(),$path);
        return $file;
    }
public function getFileByServerRelativeUrl($serverRelativeUrl){
        $path = new ResourcePathServiceOperation($this->getContext(),$this->getResourcePath(),"getfilebyserverrelativeurl",array(
            rawurlencode($serverRelativeUrl) 
        ));
        $file = new File($this->getContext(),$path);
        return $file;
    }
public function getFileByServerRelativeUrl ( $ serverRelativeUrl ) { $ path = new ResourcePathServiceOperation ( $ this -> getContext ( ) , $ this -> getResourcePath ( ) , "getfilebyserverrelativeurl" , array ( rawurlencode ( $ serverRelativeUrl ) ) ) ; $ file = new File ( $ this -> getContext ( ) , $ path ) ; return $ file ; }
Returns the file object located at the specified server-relative URL.
@param string $serverRelativeUrl The server relative URL of the file.
@return File
Returns the file object located at the specified server - relative URL .