Skip to main content
Solved

HTTPCaller problem with download file via URL

  • February 25, 2021
  • 2 replies
  • 92 views

Hello everyone,

I want to download files from USGS.

In my workspace I have a Creator connected to HTTPCaller.

My HTTPCaller looks like this:

 

screenWhen I Run the workspace I get error 'Error running translation'.

When I paste this URL to browser and click enter, after about two minutes file starts download but I can't use this URL in HTTPCaller.

Any ideas ?

Cheers

Ann

 

Best answer by 7madness5

Thank You,

I get URL looking like this https:\\/\\/blabla.bla\\/bla from another HTTPCaller, which gave me information about satellite image that I want to download.

I changed https:\\/\\/blabla.bla\\/bla to https://blabla.bl/bla and it's work !

Cheers

View original
Did this help you find an answer to your question?

2 replies

jkr_wrk
Influencer
Forum|alt.badge.img+29
  • February 25, 2021

There is usually more info in the log than 'Error running translation'.

 

Why is your url looking like this https:\\/\\/blabla.bla\\/bla

My urls normaly look like thisk https://blabla.bl/bla

 

You are sending an X-Auth-Token so you probably need to be logged in to download the data? Is the X-Auth-Token the only thing or do you need to send cookies? Or other parameters? Do you need an GET or POST request?

 

If you past the URL in a clean private browsing window and press enter do you still get the file? Then sending X-Auth-Token is probably not needed.

 

I guess we need more information to solve the problem, but maybe others download files from USGS all the time and have all the settings you need.


  • Author
  • Best Answer
  • February 25, 2021

Thank You,

I get URL looking like this https:\\/\\/blabla.bla\\/bla from another HTTPCaller, which gave me information about satellite image that I want to download.

I changed https:\\/\\/blabla.bla\\/bla to https://blabla.bl/bla and it's work !

Cheers


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings