Downloading a file from the site
Posted: Wed Mar 16, 2022 1:31 pm
I found that the file is downloaded completely normally from one hosting, and when downloading from another site, instead of the file value, the following text appears: "This site requires Javascript to work, please enable Javascript in your browser or use a browser with Javascript support"
Normally:
Message:
With this option, the same thing:
Does anyone know how to make it work in the second case?
Normally:
Code: Select all
cFile := LoadFromURL("http://lc.kubagro.ru/LcWorks.txt")
Code: Select all
cFile := LoadFromURL("http://aidos.byethost5.com/LcWorks/LcWorks.txt")
Code: Select all
oHC := HttpClient():new( "http://lc.kubagro.ru/LcWorks.txt" )
oHC := HttpClient():new( "http://aidos.byethost5.com/LcWorks/LcWorks.txt" )