?
Solved

Open local file through HTTP protocol

Posted on 2007-08-09
4
Medium Priority
?
507 Views
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
0
Comment
Question by:ture
  • 2
  • 2
4 Comments
 
LVL 7

Expert Comment

by:ravs120499
ID: 19660972
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
0
 
LVL 22

Author Comment

by:ture
ID: 19661230
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."

/Ture
0
 
LVL 7

Accepted Solution

by:
ravs120499 earned 2000 total points
ID: 19661630
No.
0
 
LVL 22

Author Comment

by:ture
ID: 19661674
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!
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Had a business requirement to store the mobile number in an environmental variable. This is just a quick article on how this was done.
Microsoft Office 365 is a subscriptions based service which includes services like Exchange Online and Skype for business Online. These services integrate with Microsoft's online version of Active Directory called Azure Active Directory.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

809 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