Downloading a file from a web - through java agent?

Hi everyone!

Is there any way to download a file from a web? So, LotusScript&@Formulas cannot, may be Java will do?

Any examples/tutorials/code sniplets?

Thanks in advance,

Dmitry.

Subject: Downloading a file from a web - through java agent?

You want to download a binary file using a background/scheduled agent and save it on server’s hard drive?You can do it in both LotusScript and Java.

In LotusScript you do it using Windows DLL, in Java using “native” functionality.

Simple LotusScript example: http://www-10.lotus.com/ldd/nd6forum.nsf/55c38d716d632d9b8525689b005ba1c0/2ac1a14c05f3628d85256d42006ff67a?OpenDocument

To download text files you can also use MSSXML OLE object.

There are many examples of downloading files using Java, just search the web.