title: FTP upload path on PHP
body: <p>Here is my Folder's reource.</p>
  
  <pre><code>Path : /www/partner/bulk_files
  Location : ftp://plus1000@exampleIP/www/plus1000/www/partner/bulk_files
  </code></pre>
  
  <p>I couldn't upload.</p>
  
  <p>What is ploblem. T^T</p>
  
  <pre><code>$ftp_host = "exampleIP";
      $ftp_hostid = "ID";
      $ftp_hostpwd = "password";
      $connect_id =ftp_connect($ftp_host) or die("fail");
  
      $bulk_uploadDir = '/www/partner/bulk_files';
  
      $login_ftp_result = ftp_login($connect_id, $ftp_hostid, $ftp_hostpwd);
  
      if ((!$connect_id) || (!$login_ftp_result)) {
  
          echo "Ftp connection has failed!";
  
          echo "Attempted to connect to $ftp_host for user $ftp_hostid";
  
          die;
  
      } else {
  
          echo "Connected to $ftp_host, for user $ftp_hostid&lt;br/--&gt;";
  
      }
  
          echo "&lt;hr&gt;";
  
      if (ftp_put($connect_id, $bulk_uploadDir, $_FILES["file"]["name"], FTP_ASCII)) {
          echo "&lt;br&gt;Succes to upload&lt;br&gt;";
      } else {
          echo "&lt;br&gt;fail to upload&lt;br&gt;";
      }
  </code></pre>
  
  <blockquote>
    <p>Result is "Warning: ftp_put(35513.jpg): failed to open stream: No such
    file or directory in /www/plus1000/www/partner/bulk_update.php on line
    78 " fail to upload</p>
  </blockquote>
  
  <p>What is my the path?</p>