title: PHP rename file on same host
body: <pre><code>$url = 'http://site.com/images/name.jpg';
  </code></pre>
  
  <p>Its a full path for the file, which is already exists on ftp.</p>
  
  <p><strong>How can I change file's name?</strong></p>