title: ftp transfer using codeigniter version 2
body: <pre><code>$this-&gt;load-&gt;library('ftp');
  $config['hostname'] = 'text.com';
  $config['username'] = 'test';
  $config['password'] = '12345678';
  $config['port']     = 21;
  $config['passive']  = FALSE;
  $config['debug']    = TRUE; 
  $conn           = $this-&gt;ftp-&gt;connect($config);
  
  if($conn){
         $this-&gt;ftp-&gt;upload('/ftp1_uploads/images/test.zip','/ftp2_uploads/images/test.zip');
  }
  </code></pre>
  
  <p>I want to transfer from ftp1 to ftp2 not the same domain.</p>
  
  <p>Return error below using codeigniter version 2</p>
  
  <pre><code>An Error Was Encountered
  Unable to locate the source file. Please check your path.
  </code></pre>
  
  <p>I already try rename the file using the same path its works. but when I transfer from ftp1 to ftp2 different domain it will not work. </p>