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

Re: [Q] download file synchronously?



>> On Tue, 12 Oct 2004 17:08:49 +0200
>> joakim@verona.se (Joakim Verona) said as follows:

>I'm trying to use the function w3m-download to download a file
>synchronously.  This file will then be used after its been
>downloaded.

>I only get it to do an asynchronous download however.

Try the following code:

  (w3m-process-with-wait-handler
    (w3m-download url "/tmp/x.torrent" nil handler))

-- 
TSUCHIYA Masatoshi