This question already has an answer here:

I trying below command to download file

  gdal_translate --config CPL_TMPDIR temp -projwin_srs "EPSG:4326" -projwin 75.576740 31.138820 75.578092 31.137444 /vsicurl/http://sentinel-s2-l1c.s3-website.eu-central-1.amazonaws.com/tiles/43/R/EQ/2017/7/7/0/B01.jp2 /Downloads

But i getting error like this

ERROR 11: HTTP response code: 403 - Failed writing header

I know sentinal data is now request pay. But i don't know how to use this command . i have not find any example related to this command .

marked as duplicate by user2856, Jochen Schwarze, ThingumaBob, PolyGeo Apr 25 at 10:07

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.