[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: visiting remote files on webserver

From: Eric Abrahamsen
Subject: Re: visiting remote files on webserver
Date: Mon, 18 Aug 2014 08:26:08 +0800
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.4.50 (gnu/linux)

lee <address@hidden> writes:

> address@hidden writes:
>> lee writes:
>>  > Hi,
>>  > 
>>  > isn't something like the following already available by default:
>>  > 
>>  > 
>>  > (defun my-curl-find-file ()
>>  >   "Use curl to retrieve something and create a buffer to display what
>>  > was retrieved.
>> What about:
>> (find-file "/scp:address@hidden:/path/to/file")
>> it is possible to use it interactively
>> C-x C-f /scp:address@hidden:/path/to/file
> That requires to be able to log in to the remote host.  In this
> particular case, I wanted to get a script from some web server I don't
> have any special access to.  I could have downloaded and saved and
> visited it, but why not load it directly into a buffer.

The url package does this, you could start with url-retrieve and


reply via email to

[Prev in Thread] Current Thread [Next in Thread]