Pergunta de entrevista da empresa MetricStream

Write code in Java to upload and download file?