title: Codeigniter failed to open stream permission when upload images
body: <p>Code:</p>
  
  <pre><code>$filename = '12345.jpeg';
  $source = imagecreatefromstring($imageData); 
  $imageSave = imagejpeg($source,$filename,100); 
  imagedestroy($source);
  $this-&gt;ftp-&gt;connect();
  $this-&gt;ftp-&gt;upload($imageSave,'/public_ftp/incoming/'.$filename,'ascii', 0775); 
  $this-&gt;ftp-&gt;close();
  </code></pre>
  
  <p>Error:
  <strong>Codeigniter failed to open stream permission when upload images.</strong></p>