title: Uploading all of files in my local directory with curl
body: <p>I want to upload all the files in one directory, and I know how to upload one file using curl like this :</p>
  
  <pre><code>curl -T "local/xxx.suffix" -u xxx:psw "ftp://192.168.1.158/public/demon_test/xxx.suffix"
  </code></pre>
  
  <p>How can I upload all the files (subdirectory) in the current directory to an FTP server?</p>