What is the right HTTP URL format I could use with URLConnection to access my files in my server. For example my file in C:\myfolder\myfile.ext and my servers
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You could host those files on a network share, there is native support for this in Windows, Mac, and *Nix based systems and it’s relatively easy. If the files are not pushed through that computer’s web server software (apache, nginx, etc.) then it cannot be accessed with the http protocol, but can be access through samba or some other local network sharing protocol.
For exmaple, the syntax for windows UNC is:
or with samba (smb)