title: Ruby on Rails Remote Server File Upload Problem
body: <p>I want to upload the file I upload to the remote server with 'Active Storage'. I used this for <a href="https://www.rubydoc.info/gems/net-sftp/2.0.5/Net/SFTP" rel="nofollow noreferrer">activestorage-ftp</a> gem.</p>
  
  <p><strong>The code I wrote is as follows.</strong></p>
  
  <p><strong><em>config/storage.yml</em></strong></p>
  
  <pre><code>sftp:
      service: SFTP
      user: xxx
      root: /var/www/storage
      host: xxx@10.10.10.10
      password: xxx
  </code></pre>
  
  <p>File upload is successful but files are not visible on the server. </p>
  
  <p>What should I do to upload the file to the server?</p>