title: Upload directories recursively (with directories in it) to FTP
body: <p>I need to upload full directory with other directories in it to FTP from Windows PC.</p>
  
  <p>Currently I'm using Windows batch file to upload files to FTP:</p>
  
  
  
  <pre class="lang-none prettyprint-override"><code>FTP -i -s:upload.ftp
  </code></pre>
  
  <p>Upload.ftp:</p>
  
  <pre class="lang-none prettyprint-override"><code>open hostname
  username
  Password
  prompt
  bin
  cd pathonserv/path
  prompt
  mput localpath/localfolder/*
  </code></pre>
  
  <p>This code uploads only <strong>files</strong> from local folder on server but not folders in local folder. </p>
  
  <p>I can use any recommendation. I'm open to changing language from Windows batch file to Python. Also I have Linux terminal features enabled on Windows PC. C++ is also welcome if code can run without any big additional downloads.</p>
  
  <p>Safety is not very important. Currently I prefer speed over safety. I need a simple script to upload directories recursively (with directories in it) to FTP that has username and password. </p>
  
  <p>Also Windows is must! I wouldn't like to have more than 1 downloadable plugin, but even if it will have but work I can take it.</p>