Jump to content

I have a Question about FetchRemote


Topperx

Recommended Posts

Posted

After some updates on the FetchRemote function, I'm having a lot of trouble downloading some files directly from a "Domain" Example: My server is on a Host, and the Files on another Host, and it looks like something is blocking and FetchRemote Function.

can someone help me ?

Posted

Code?

  • Confused 1

~ This has to be the worst board post I have ever read. It simply makes no sense. You start off by talking about space or something, then you randomly start babbling about cupcakes, and you end off with random fish names.

~ Don't listen to this guy, any board with the categories 'dinosaurs, spaceships, fried foods, wild animals, alien abductions, business casual, robots, and fireworks' has true potential.

 

Posted
requestBrowserDomains({"http://servertestdownload.unaux.com/"})

function startDownload( )
    fetchRemote ( "http://servertestdownload.unaux.com/download/data/database/login/ScreenLoading1.png", myCallback, "", false, getLocalPlayer() )
end

function myCallback( responseData, error, client )
    if error == 0 then
		outputChatBox("SUCCS "..tostring(error))
		else
		outputChatBox("ERRO "..tostring(error))
    end
end

startDownload( )

 

debug " ERRO 1006 "

Posted

in your "myCallback" function, try to output "responseData ", what is it?

I'm sorry, I might not be much of a help

~ This has to be the worst board post I have ever read. It simply makes no sense. You start off by talking about space or something, then you randomly start babbling about cupcakes, and you end off with random fish names.

~ Don't listen to this guy, any board with the categories 'dinosaurs, spaceships, fried foods, wild animals, alien abductions, business casual, robots, and fireworks' has true potential.

 

Posted
2 minutes ago, Topperx said:

is not downloading  >  [Output] : ERRO 1006

 

helpp 

is not downloading [Output] : ERRO 1006

outputConsole(responseData)

What does this return in your console?

~ This has to be the worst board post I have ever read. It simply makes no sense. You start off by talking about space or something, then you randomly start babbling about cupcakes, and you end off with random fish names.

~ Don't listen to this guy, any board with the categories 'dinosaurs, spaceships, fried foods, wild animals, alien abductions, business casual, robots, and fireworks' has true potential.

 

Posted
35 minutes ago, Topperx said:

responseData = image ( "http://servertestdownload.unaux.com/download/data/database/login/ScreenLoading1.png" )

the problem is not in the function but in the connection to the site "http://servertestdownload.unaux.com/download/data/database/login/ScreenLoading1.png"

Try to fetchRemote another type of file, maybe a .lua, what does it return?

~ This has to be the worst board post I have ever read. It simply makes no sense. You start off by talking about space or something, then you randomly start babbling about cupcakes, and you end off with random fish names.

~ Don't listen to this guy, any board with the categories 'dinosaurs, spaceships, fried foods, wild animals, alien abductions, business casual, robots, and fireworks' has true potential.

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...