using session.download() in Java

Hi,

im invoking Screenscraper from an external Java Application.
I would like to use session.downloadfile() in my external Application.
Right now, i invoke the RemoteSession and have to use the script in screenscraper, and can only read the DataRecord after the ScrapingSession has finished and all Files are downloaded already.
But i would like to use something like:

boolean result = RemoteSession.downloadfile("
");

while i am reading out the data Record with the links.

Hope you can help me out on this one.

Regards,

Moe

The session.downloadFile() is

The session.downloadFile() is inside screen-scraper. You'd just want to download the file through Java without screen-scraper akin to http://www.daniweb.com/forums/thread84370.html.