emacs-devel
[Top][All Lists]
Advanced

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

Re: Downloading with Emacs


From: Lennart Borgman
Subject: Re: Downloading with Emacs
Date: Sun, 26 Jun 2005 16:32:06 +0200
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)

Paul Pogonyshev wrote:

Lennart Borgman wrote:
I have been testing a bit downloading things from the Internet with
Emacs with the url package. However I am not able to understand how this
should be done. Does anyone have examples of how to download binary files?

You can have a look at Wikipedia mode (https://gna.org/projects/wikipedia-el/).
It actually doesn't use binary files, but as far as I understand URL retrieves
things in binary (since I manage to use `decode-coding-string' with the
expected result.)  To finish file downloading, you just need to remove HTTP
headers and save the buffer in a file, I guess.

Thanks Paul, that helped even though I have been using just `url-retrieve' like you do in wikipedia.el for my tests. I was wondering if there were any "url-download functions".

I believe I will write a little package for downloading then, it seems useful.




reply via email to

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