def download_box(uri)
      require 'net/http'
      require 'uri'
      url = uri.path
      # Download file to bebox boxes tmp
      Net::HTTP.start(uri.host) do |http|
        response = http.request_head(URI.escape(url))
        write_remote_file(uri, http, response)
      end
    end
def download_box(uri)
      require 'net/http'
      require 'uri'
      url = uri.path
      # Download file to bebox boxes tmp
      Net::HTTP.start(uri.host) do |http|
        response = http.request_head(URI.escape(url))
        write_remote_file(uri, http, response)
      end
    end
Download a box by the specified uri