04-03-2015, 07:46 PM
Is there a way to get the final URL from a IntGetFile call the way there is for the "web" function via geturl2?
geturl2 forIntGetFile
|
04-03-2015, 07:46 PM
Is there a way to get the final URL from a IntGetFile call the way there is for the "web" function via geturl2?
04-04-2015, 06:05 AM
There are many ways of URL redirection. IntGetFile redirects only when used HTTP error 301 with "Location" header. Then it is possible to get the "Location" header. Example:
Macro Macro2538 out If used other ways, IntGetFile does not redirect. But then in most cases you can extract the new location from the downloaded page HTML or headers. Then call IntGetFile again with the new location. |
« Next Oldest | Next Newest »
|