Open local file through HTTP protocol

Posted on 2007-08-09
Last Modified: 2013-12-23
Hello all,

I want my VBA application to open a file from a shared folder on my network by using the HTTP protocol.
The shared folder is NOT on a web or Intranet server, it's just a simple network share.

Is this possible?

Best regards
Ture Magnusson
Question by:ture
    LVL 7

    Expert Comment

    You will need an HTTP server running somewhere that can access the file. For example, you could run a web server on your desktop and have that open the file from the network share. Depending on the nature of your application and its usage, that may not be a good idea.

    Alternatively, if all you need is to open a file from a browser, you can do that using the drive mapings (X:, Y: etc.) or directly entering the unc path - \\servername\sharename

    - Ravs
    LVL 22

    Author Comment

    Hello Rays,

    Thanks for your input.

    The essence of this question is really:
    "Is it possible to open a file by using the HTTP protocol without using a HTTP server."

    LVL 7

    Accepted Solution

    LVL 22

    Author Comment

    Good answer, and it really sounds very logical.

    And... asking questions is a good way to straighten up one's own thoughts.   :o)

    Thank you, Rays!

    Featured Post

    Highfive + Dolby Voice = No More Audio Complaints!

    Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

    Join & Write a Comment

    The Need In an Active Directory enviroment, the PDC emulator provide time synchronization for the domain. This is important since Active Directory uses Kerberos for authentication.  By default, if the time difference between systems is off by more …
    Find out how to use Active Directory data for email signature management in Microsoft Exchange and Office 365.
    This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
    This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now