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

Re: [Q] download file synchronously?



>>>>> Joakim Verona writes:

 > 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.

 > My call looks like this:

 > (w3m-download url "/tmp/x.torrent" nil nil) ;it apears this runs
 > asynchronously, although it says synch when handler nil

 > Any hints?

Maybe something like:

    (let ((w3m-async-exec nil))
      (w3m-download ...))

Matt