• Guest, before posting your code please take these rules into consideration:
    • It is required to use our BBCode feature to display your code. While within the editor click < / > or >_ and place your code within the BB Code prompt. This helps others with finding a solution by making it easier to read and easier to copy.
    • Don't share a wall of code. All we want is the problem area, the code related to your issue.


    To learn more about how to use our BBCode feature, please click here.

    Thank you, Code Forum.

JavaScript Connecting files to a website

Krism

New Coder
I would like to know if someone could solve this doubt, I was creating a website and for it I needed to load some files from a .data, so far I had no problem.
But I realized that the website was not going to be hosted on any server within my reach so I need the files to be in a cloud like google api to select and use them, however it does not let me access the google api.
Do you know how to do this with google api or any other way?
 

Antero360

King Coder
Staff Team
Security Analyst
I would like to know if someone could solve this doubt, I was creating a website and for it I needed to load some files from a .data, so far I had no problem.
But I realized that the website was not going to be hosted on any server within my reach so I need the files to be in a cloud like google api to select and use them, however it does not let me access the google api.
Do you know how to do this with google api or any other way?
Hi there,
Once you add the files to an online storage system, if your files are behind password/credential protection, you would need to add your credentials to your .env file or web.config/appSettings.config file, and setup a connection. If you don't need to do so, you can just get the link to the file.
 
Top