Answer the question
In order to leave comments, you need to log in
Is it possible to force Windows to see the URL as a local file?
Is it possible to force Windows to see the URL as a local file? Those. a text file lies on the internet and is available only via http, can it be made so that it is seen by the system as lying on a disk?
What for? There is a program that climbs onto the screw, takes a text file from there and then does what I need from it. But here is a problem - the file is not on the screw, but on the Internet. So I think how to deceive the program. "Ftp as disk" - do not offer.
Answer the question
In order to leave comments, you need to log in
If webdav is installed on the server, then you can connect the http resource (folder) as a disk in Windows using standard tools.
into the new OS, when inserted into the URL opening window, the system downloads the file to a temporary folder, and then gives the address to the program, for example, to the same notepad.
you can do the same, for example by making a my.cmd file with the following content:
wget htttp://mysite.com/mydir/myfile.dat
myprogram.exe myfile.dat
That's it. Well, if your program takes the file along the constant path specified in the settings, then you can transfer it to the right place after downloading wget'om.
Notepad (as well as any other editor) perfectly accepts a URL instead of a file name and opens the file as text.
If your program accesses an external server by its domain name and not by its IP address, then
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question