Bug in URLMonLibrary?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug in URLMonLibrary?

Brendan Walsh
Hi folks

I've been trying to download a file using the URLMonLibrary class in 5.0.1
on Windows 2000 doing something like this:

u := URLMonLibrary new.
u urlDownload: 'http://localhost/localstart.asp' toFile: 'test.asp'.

When I evaluate the urlDownload: toFile: line I get a dialog with
the message:

The exception Breakpoint
A breakpoint has been reached
(0x80000003) occurred in the application at location 0x10018986

I can get around this using sockets, but I would have thought that this
should
have worked (or at least not forced me to exit Dolphin).

Brendan


Reply | Threaded
Open this post in threaded view
|

Re: Bug in URLMonLibrary?

Ian Bartholomew-13
Brendan,

> I've been trying to download a file using the URLMonLibrary class in 5.0.1
> on Windows 2000 doing something like this:
>
> u := URLMonLibrary new.
> u urlDownload: 'http://localhost/localstart.asp' toFile: 'test.asp'.

Just a vague possibility but have you tried using the default URLMonLibrary
rather than creating a new one?. The #default singleton instance is
automatically opened and is the usual way to use ExternalLibrary subclasses.
The test below seems to indicate that if you do #new another instance then
you also need to #open (and #initialize?) it.

URLMonLibrary new isOpen ==> false
URLMonLibrary default isOpen ==> true

Ian