NEWBIE here... Trying to add an Intro file. I think I understand the scripting, I just don't know where physically to locate the file. All the documentation I see just has a slash then a filename. Should it reside in the root directory of IceCast, on a public website or just somewhere on the host PC?
Thanks for any assistance!
Related
I am currently developing a feature in a Game in C++.
I provide an URL (eg:"https://ServerName/../FolderName/").
There are few files in this folder: .png, .txt, etc.
I need to download all these files into a specific location (For the Game to fetch them from that location)
I am able to download single file by providing the complete URL.
Any idea on how to download all files in a single HTTP request??
Any help is appreciated. Thanks in advance!
An HTTP request is asking for a single resource from the server via a unique URI. What you're asking for is to be able to ask for multiple resources from the server with a single URI, which means you don't understand how HTTP works. So the answer to your question is NO, and it's impossible.
I installed WAMP Server 3.0.1 on my Windows 10, i can access the phpmyadmin page and edit databases and all that.
But when i try to test an html file linked to a php file from localhost
(EX: http://localhost///C:/Users/username/Desktop/Testing/detail.html)
it gives me the 403 Forbidden Error
Thank you for your assisstance, i searched the web and did not find clear anserws
Please can you clarify what do you mean by:
html file linked to a php file
Since you haven't given so many details about your issue. I will try to answer your question in parts as there might be different possibilities
http://localhost///C:/Users/username/Desktop/Testing/detail.html
The URL that you try doesn't seem to be correct URL. It seems you're doing something wrong. When you install web server to your local machine you will not need any URLs in such format
C:/Users/username/Desktop/Testing/detail.html
Maybe you can try to copy your files in www folder and then run it like:
http://localhost/detail.html
If you are passing an HTML file to your PHP Code I should say there is no PHP file written in your URL. Also passing URL which is from outside web server environment is totally wrong idea which can cause security issues sooner or later. You should consider changing your design idea. Maybe try to look up examples those are availeble in the internet.
Also here is another suggestion to you: Ask the question itself to yourself before posting here.
In conclusion my suggestions are; please edit your question to provide as much detail as you can with a clarified version of your problem. So helpful people on this website will able and happy to help you.
I would like to write a program or script that will go through a website and download all MP3's. So for example, I would go to a website that has MP3's available for download. I would then run a script or start a program that would comb through the website downloading all or specified MP3's.
I don't know where to start or if an application already exists. Please help.
To download any resource from an HTTP protocol or from a website first, you have to know the url. To get the url you better have access to the code source and use a regex that start with http:// or https:// and end with .mp3. And/or follow any link in the source code and check if the mime type is audio/mp3.
Note: you can't go on a website and download any resource illegally. You have to respect the copyright.
I have an ftp where my files are store there,
I tried to find manuals that will explain how to connect the ftp to Webstorm,but with not much luck.
so I'm looking for referrals for this,
thanks.
Use Create Project from Existing Files on the Welcome Screen or from the File menu.
I have a questions, and I would love you to try to answer it.
Is it possible to get the list of files from a remote folder in java, knowing just the URL???
for example:
http://localhost/img get all the images names in this directory.
Thanks in advance
When you are talking about a remote folder, it depends on how you are accessing it.
If it is via a network share, such as \localhost\mypath AND you have access to browse the files, you will be able to do so, just like you would with a local directory.
However, if you are trying to browse a directory on a web server, the web server would have to give you directory browsing ability for you to work with it.