title: How to copy files from remote server to google cloud storage?
body: <p>I have tried using this code, but it didn't work.</p>
  
  <pre><code>gcloud compute ssh user@ftp.example.com --zone my_zone \
  --command='gsutil cp path/to/my_file gs://MY_BUCKET'
  </code></pre>
  
  <p>I tried even copying files from the server via http request too, no results. I have made the files available to public and tried this code.</p>
  
  <pre><code>gsutil cp http://example.com/dir1/ gs://MY_BUCKET
  </code></pre>
  
  <p>I am getting errors as such the http is unrecognized.</p>
  
  <p>I also have the ssh access to the remote server.</p>