title: How to write a file to a remote server url on node js using fs?
body: <p>I need to write a file on a remote server folder, i'm using fs on nodejs. This is my code, the function return with no errors but it doesn´t write the file on the folder. </p>
  
  <pre><code>fs.writeFile('https:/someurl.com/Content/myfiles/message.txt', 'Hello Node.js', 'utf8', (err) =&gt; {
        console.log(err)
      })
  </code></pre>