title: My FTP batch script is stuck on "200 PORT command successful" and doesn't upload the files to server
body: <p>I've tried everything I found in Google results about</p>
  <blockquote>
  <p>200 PORT command successful</p>
  </blockquote>
  <p>but nothing has helped.</p>
  <p>Can anyone assist to solve this issue please?</p>
  <p><strong>The code of &quot;runScript.bat:</strong></p>
  <pre><code>ftp -s:&quot;C:\automation\fileup.bat&quot; myserver.com
  </code></pre>
  <p><strong>The code of &quot;fileup.bat:</strong></p>
  <pre><code>username
  password
  ascii
  cd &quot;/public_html/reports/&quot;
  lcd &quot;C:\automation\tests\HtmlReporter&quot;
  prompt
  mput *
  disconnect
  close
  bye
  </code></pre>
  <p><strong>The console log:</strong></p>
  <pre><code>C:\automation&gt;ftp -s:&quot;C:\automation\fileup.bat&quot; myserver.com
  Connected to myserver.com.
  220---------- Welcome to Pure-FTPd [privsep] ----------
  220-You are user number 7 of 500 allowed.
  220-Local time is now 04:40. Server port: 21.
  220-This is a private system - No anonymous login
  220 You will be disconnected after 3 minutes of inactivity.
  User (server26.000webhost.com:(none)):
  331 User username OK. Password required
  
  230-OK. Current restricted directory is /
  230-449 files used (4%) - authorized: 10000 files
  230 16742 Kbytes used (1%) - authorized: 1536000 Kb
  ftp&gt; ascii
  200 TYPE is now ASCII
  ftp&gt; cd &quot;/public_html/reports/&quot;
  250 OK. Current directory is /public_html/reports
  ftp&gt; lcd &quot;C:\automation\tests\HtmlReporter&quot;
  Local directory now C:\automation\tests\HtmlReporter.
  ftp&gt; prompt
  Interactive mode Off .
  ftp&gt; mput *
  200 PORT command successful
  </code></pre>