title: How to upload files to specific folder multer-ftp on remote server?
body: <p>Using this code I try send files on remote server:</p>
  
  <pre><code>var upload = multer({
      storage: new ftpStorage({
          basepath: '/uploads/',
  
          ftp: {
              host: 'samplehost.com',
              secure: false, // enables FTPS/FTP with TLS
              user: 'login',
              password: 'password'
          }
      })
  });
  </code></pre>
  
  <p>but always save file in root directory, not in uploads, how can I fix this?</p>